Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/testdisk.spec'], chrootPath='/var/lib/mock/f31-build-64109-29482/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/testdisk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/testdisk-7.1-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/testdisk.spec'], chrootPath='/var/lib/mock/f31-build-64109-29482/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/testdisk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UnCbFx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testdisk-7.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/testdisk-7.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd testdisk-7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HBSj9x + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info BUILDSTDERR: configure: WARNING: Could not find a windres tool in your PATH. '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p 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 riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-koji-linux-gnu-windres... no checking for windres... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... no checking cygwin/fs.h presence... no checking for cygwin/fs.h... no checking cygwin/version.h usability... no checking cygwin/version.h presence... no checking for cygwin/version.h... no checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... no checking ntfs/version.h presence... no checking for ntfs/version.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes BUILDSTDERR: checking utime.h prconfigure: WARNING: Disable use of ntfs library BUILDSTDERR: configure: WARNING: Disable use of ntfs library BUILDSTDERR: configure: WARNING: No reiserfs library detected esence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... no checking windef.h presence... no checking for windef.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking libewf.h usability... yes checking libewf.h presence... yes checking for libewf.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... no checking ntfs/attrib.h presence... no checking for ntfs/attrib.h... no checking ntfs/volume.h usability... no checking ntfs/volume.h presence... no checking for ntfs/volume.h... no checking ntfs-3g/attrib.h usability... yes checking ntfs-3g/attrib.h presence... yes checking for ntfs-3g/attrib.h... yes checking ntfs-3g/volume.h usability... yes checking ntfs-3g/volume.h presence... yes checking for ntfs-3g/volume.h... yes checking 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 whether gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs-3g... yes checking for libreiserfs_get_version in -lreiserfs... no checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking for libewf_check_file_signature in -lewf... yes checking for libewf_handle_t... 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 -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 -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... yes checking for QT5GUI... yes checking for QT5WIDGETS... yes checking whether Qt5 is using --std=c++14... yes checking whether g++ understands --std=c++14... yes checking for riscv64-koji-linux-gnu-moc-qt5... no checking for riscv64-koji-linux-gnu-moc... no checking for moc-qt5... moc-qt5 checking for riscv64-koji-linux-gnu-rcc-qt5... no checking for riscv64-koji-linux-gnu-rcc... no checking for rcc-qt5... rcc-qt5 checking for riscv64-koji-linux-gnu-lrelease-qt5... no checking for riscv64-koji-linux-gnu-lrelease... no checking for lrelease-qt5... lrelease-qt5 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no BUILDSTDERR: checking whether + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: In file included from autoset.c:27: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from crc.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from common.c:49: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ 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 /usr/bin/make all-recursive Making all in icons make[2]: Nothing to be done for 'all'. Making all in man Making all in zh_CN make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equIn file included from ewf.c:52: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ewf.c: In function 'fewf_sync': BUILDSTDERR: ewf.c:427:30: warning: unused parameter 'disk' [-Wunused-parameter] BUILDSTDERR: 427 | static int fewf_sync(disk_t *disk) BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: ewf.c: In function 'fewf_nopwrite': BUILDSTDERR: ewf.c:507:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 507 | static int fewf_nopwrite(disk_t *disk, const void *buffer, const unsigned int count, const uint64_t offset) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from fnctdsk.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hidden.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hdcache.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ al -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIIn file included from iso.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from iso.c:34: BUILDSTDERR: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hpa_dco.c:43: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hpa_dco.c: In function 'sg_read_native_max_ext': BUILDSTDERR: hpa_dco.c:143:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 143 | const uint16_t *word=(const uint16_t*)(sb + 10); BUILDSTDERR: | ^ BUILDSTDERR: hpa_dco.c: In function 'sg_device_configuration_identify': BUILDSTDERR: hpa_dco.c:198:18: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 198 | uint16_t *word=(uint16_t*)&data; BUILDSTDERR: | ^ BUILDSTDERR: hpa_dco.c: In function 'disk_get_hpa_dco': BUILDSTDERR: hpa_dco.c:269:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 269 | const uint16_t *id_val=(const uint16_t *) & id_args[4]; BUILDSTDERR: | ^ BUILDSTDERR: In file included from intrf.c:58: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ FY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototIn file included from log_part.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hdaccess.c:44: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:141:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 141 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:932:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 932 | } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c: In function 'disk_get_model': BUILDSTDERR: hdaccess.c:991:76: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 991 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: hdaccess.c: In function 'file_nopwrite': BUILDSTDERR: hdaccess.c:1346:56: warning: unused parameter 'buf' [-Wunused-parameter] BUILDSTDERR: 1346 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: hdaccess.c: In function 'file_test_availability': BUILDSTDERR: hdaccess.c:1583:41: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1583 | if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:1586:33: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1586 | disk_car->geom.cylinders=*(unsigned long*)(buffer+15); BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:1587:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1587 | disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:1588:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1588 | disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); BUILDSTDERR: | ^ BUILDSTDERR: hdaccess.c:1590:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1590 | disk_car->offset=*(unsigned long*)(buffer+19); BUILDSTDERR: | ^ BUILDSTDERR: In file included from misc.c:48: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c BUILDSTDERR: make[2]: LeavingIn file included from log.c:47: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parthumax.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: parthumax.c:69:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 69 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: parthumax.c:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: parthumax.c: In function 'read_part_humax': BUILDSTDERR: parthumax.c:121:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 121 | p32=(uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: parthumax.c:109:65: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: parthumax.c:109:84: warning: unused parameter 'saveheader' [-Wunused-parameter] BUILDSTDERR: 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: parthumax.c: In function 'write_part_humax': BUILDSTDERR: parthumax.c:159:37: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: parthumax.c:159:66: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: parthumax.c:159:101: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: parthumax.c: In function 'init_part_order_humax': BUILDSTDERR: parthumax.c:167:57: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 167 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: parthumax.c: In function 'set_next_status_humax': BUILDSTDERR: parthumax.c:235:49: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 235 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: parthumax.c: In function 'init_structure_humax': BUILDSTDERR: parthumax.c:271:91: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 271 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: parthumax.c: In function 'get_partition_typename_humax': BUILDSTDERR: parthumax.c:305:68: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 305 | static const char *get_partition_typename_humax(const partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from partmac.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partmac.c:46: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partmac.c:47: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partmac.c: In function 'read_part_mac': BUILDSTDERR: partmac.c:120:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 120 | mac_Block0 *maclabel=(mac_Block0*)&buffer; BUILDSTDERR: | ^ BUILDSTDERR: partmac.c:130:20: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 130 | mac_DPME *dpme=(mac_DPME *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: partmac.c: In function 'write_part_mac': BUILDSTDERR: partmac.c:200:35: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: partmac.c:200:64: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partmac.c:200:99: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: partmac.c: In function 'init_part_order_mac': BUILDSTDERR: partmac.c:208:55: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 208 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partmac.c: In function 'set_next_status_mac': BUILDSTDERR: partmac.c:272:47: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 272 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partmac.c: In function 'init_structure_mac': BUILDSTDERR: partmac.c:305:89: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 305 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from partgpt.c:46: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:52: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:54: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:55: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:56: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:59: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgpt.c:60: BUILDSTDERR: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partgpt.c: In function 'read_part_gpt_aux': BUILDSTDERR: partgpt.c:284:15: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 284 | gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz)); BUILDSTDERR: | ^ BUILDSTDERR: partgpt.c:297:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 297 | UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2); BUILDSTDERR: | ^ BUILDSTDERR: partgpt.c: In function 'init_part_order_gpt': BUILDSTDERR: partgpt.c:327:55: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 327 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partgpt.c: In function 'set_next_status_gpt': BUILDSTDERR: partgpt.c:400:47: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 400 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partgpt.c: In function 'init_structure_gpt': BUILDSTDERR: partgpt.c:423:89: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 423 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from partsun.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partsun.c:44: BUILDSTDERR: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partsun.c:49: BUILDSTDERR: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 290 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 297 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 306 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 315 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 339 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 458 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partsun.c: In function 'get_geometry_from_sunmbr': BUILDSTDERR: partsun.c:115:33: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 115 | const sun_disklabel *sunlabel=(const sun_disklabel*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: partsun.c: In function 'read_part_sun': BUILDSTDERR: partsun.c:141:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 141 | sunlabel=(sun_disklabel*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: partsun.c: In function 'write_part_sun': BUILDSTDERR: partsun.c:178:35: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: partsun.c:178:64: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partsun.c:178:99: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: partsun.c: In function 'set_next_status_sun': BUILDSTDERR: partsun.c:269:47: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 269 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partsun.c: In function 'init_structure_sun': BUILDSTDERR: partsun.c:301:89: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 301 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specsIn file included from partnone.c:37: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:44: BUILDSTDERR: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 97 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 139 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:46: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:48: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:50: BUILDSTDERR: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:51: BUILDSTDERR: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 61 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 105 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:53: BUILDSTDERR: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:56: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:65: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:66: BUILDSTDERR: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:67: BUILDSTDERR: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 73 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:68: BUILDSTDERR: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:69: BUILDSTDERR: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 119 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:71: BUILDSTDERR: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 290 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 297 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 306 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 315 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 339 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 458 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:72: BUILDSTDERR: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 108 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:73: BUILDSTDERR: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 42 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partnone.c:74: BUILDSTDERR: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 39 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partnone.c: In function 'get_geometry_from_nonembr': BUILDSTDERR: partnone.c:176:77: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 176 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: partnone.c: In function 'read_part_none': BUILDSTDERR: partnone.c:279:36: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 279 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; BUILDSTDERR: | ^ BUILDSTDERR: partnone.c: In function 'init_part_order_none': BUILDSTDERR: partnone.c:306:56: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 306 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partnone.c: In function 'set_next_status_none': BUILDSTDERR: partnone.c:312:48: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partnone.c:312:71: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partnone.c: In function 'test_structure_none': BUILDSTDERR: partnone.c:316:45: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 316 | static int test_structure_none(list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partnone.c: In function 'is_part_known_none': BUILDSTDERR: partnone.c:327:50: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 327 | static int is_part_known_none(const partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partnone.c: In function 'init_structure_none': BUILDSTDERR: partnone.c:332:47: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partnone.c:332:90: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: partnone.c: In function 'check_part_none': BUILDSTDERR: partnone.c:341:97: warning: unused parameter 'saveheader' [-Wunused-parameter] BUILDSTDERR: 341 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from partxbox.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partxbox.c:43: BUILDSTDERR: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 32 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partxbox.c:45: BUILDSTDERR: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partxbox.c: In function 'write_part_xbox': BUILDSTDERR: partxbox.c:135:36: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: partxbox.c:135:65: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partxbox.c:135:100: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: partxbox.c: In function 'init_part_order_xbox': BUILDSTDERR: partxbox.c:143:56: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 143 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partxbox.c: In function 'set_next_status_xbox': BUILDSTDERR: partxbox.c:207:48: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 207 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: partxbox.c: In function 'init_structure_xbox': BUILDSTDERR: partxbox.c:240:90: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 240 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from io_redir.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_utl.c:61: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ =/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-comIn file included from partauto.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_io.c:56: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs_io.c: In function 'ntfs_device_testdisk_io_stat': BUILDSTDERR: ntfs_io.c:148:61: warning: unused parameter 'dev' [-Wunused-parameter] BUILDSTDERR: 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: ntfs_io.c:148:79: warning: unused parameter 'buf' [-Wunused-parameter] BUILDSTDERR: 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) BUILDSTDERR: | ~~~~~~~~~~~~~^~~ BUILDSTDERR: ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl': BUILDSTDERR: ntfs_io.c:157:62: warning: unused parameter 'dev' [-Wunused-parameter] BUILDSTDERR: 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: ntfs_io.c:157:71: warning: unused parameter 'request' [-Wunused-parameter] BUILDSTDERR: 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: ntfs_io.c:158:9: warning: unused parameter 'argp' [-Wunused-parameter] BUILDSTDERR: 158 | void *argp) BUILDSTDERR: | ~~~~~~^~~~ pare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIIn file included from unicode.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:47: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:48: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:49: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:54: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:55: BUILDSTDERR: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:59: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386.c:60: BUILDSTDERR: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 32 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: parti386.c: In function 'init_part_order_i386': BUILDSTDERR: parti386.c:329:56: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 329 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: In file included from bfs.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: bfs.c: In function 'check_BeFS': BUILDSTDERR: bfs.c:49:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 49 | if(test_BeFS(disk_car,(struct disk_super_block*)buffer,partition,0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: bfs.c:54:17: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 54 | set_BeFS_info((struct disk_super_block*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: In file included from bsd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: bsd.c: In function 'check_BSD': BUILDSTDERR: bsd.c:47:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 47 | if(test_BSD(disk_car,(const struct disklabel*)buffer,partition,verbose,0,max_partitions)) BUILDSTDERR: | ^ BUILDSTDERR: bsd.c:52:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 52 | set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16); BUILDSTDERR: | ^ BUILDSTDERR: In file included from btrfs.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from btrfs.c:35: BUILDSTDERR: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 97 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 139 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ G_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -WpoiIn file included from cramfs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: cramfs.c: In function 'check_cramfs': BUILDSTDERR: cramfs.c:48:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 48 | if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) BUILDSTDERR: | ^ BUILDSTDERR: cramfs.c:50:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 50 | set_cramfs_info((struct cramfs_super*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: cramfs.c:57:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 57 | if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) BUILDSTDERR: | ^ BUILDSTDERR: cramfs.c:59:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 59 | set_cramfs_info((struct cramfs_super*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfat.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfat.c:35: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:35: BUILDSTDERR: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 97 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 139 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:37: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:39: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:40: BUILDSTDERR: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:41: BUILDSTDERR: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 61 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 105 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:44: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:53: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:54: BUILDSTDERR: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:55: BUILDSTDERR: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 73 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:56: BUILDSTDERR: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:58: BUILDSTDERR: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 119 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:59: BUILDSTDERR: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 290 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 297 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 306 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 315 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 339 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 458 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:60: BUILDSTDERR: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 42 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:61: BUILDSTDERR: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 39 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from analyse.c:62: BUILDSTDERR: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 108 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_HFS_backup': BUILDSTDERR: analyse.c:87:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 87 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_0': BUILDSTDERR: analyse.c:139:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 139 | const pv_disk_t *pv=(const pv_disk_t *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:140:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 140 | const struct cramfs_super *cramfs=(const struct cramfs_super *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:142:44: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 142 | const struct disk_netware *netware_block=(const struct disk_netware *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:145:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 145 | const struct luks_phdr *luks=(const struct luks_phdr *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:146:38: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 146 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:150:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 150 | const union swap_header *swap_header=(const union swap_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:204:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 204 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_1': BUILDSTDERR: analyse.c:225:38: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 225 | const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:226:45: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 226 | const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:227:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 227 | const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_2': BUILDSTDERR: analyse.c:265:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 265 | const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:266:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 266 | const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_8': BUILDSTDERR: analyse.c:302:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 302 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c:304:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 304 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_16': BUILDSTDERR: analyse.c:325:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 325 | const struct vdev_boot_header *zfs=(const struct vdev_boot_header*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_64': BUILDSTDERR: analyse.c:349:38: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 349 | const struct jfs_superblock* jfs=(const struct jfs_superblock*)(buffer+0x200); BUILDSTDERR: | ^ BUILDSTDERR: analyse.c: In function 'search_type_128': BUILDSTDERR: analyse.c:373:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 373 | const struct gfs2_sb *gfs2=(const struct gfs2_sb *)buffer_1024; BUILDSTDERR: | ^ nter-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstacIn file included from ext2_common.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ext2.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ext2.c: In function 'check_EXT2': BUILDSTDERR: ext2.c:52:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 52 | if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0) BUILDSTDERR: | ^ BUILDSTDERR: ext2.c:57:17: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 57 | set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_common.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_common.c:31: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatx.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatx.c:31: BUILDSTDERR: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from gfs2.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: gfs2.c: In function 'check_gfs2': BUILDSTDERR: gfs2.c:71:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 71 | if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from f2fs.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from f2fs.c:35: BUILDSTDERR: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 61 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 105 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: f2fs.c: In function 'recover_f2fs': BUILDSTDERR: f2fs.c:90:32: warning: unused parameter 'disk' [-Wunused-parameter] BUILDSTDERR: 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~ k-protector-strong -c -o ext2_common.o ext2_common.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-In file included from jfs.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: jfs.c: In function 'check_JFS': BUILDSTDERR: jfs.c:51:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 51 | if(test_JFS(disk_car, (struct jfs_superblock*)buffer, partition,0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: jfs.c:56:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 56 | set_JFS_info((struct jfs_superblock*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hpfs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hpfs.c:36: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hfs.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hfs.c:34: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hfsp.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfsp.c: In function 'check_HFSP': BUILDSTDERR: hfsp.c:64:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 64 | if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: hfsp.c:69:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 69 | set_HFSP_info(partition, (const struct hfsp_vh *)buffer); BUILDSTDERR: | ^ BUILDSTDERR: hfsp.c:72:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 72 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) BUILDSTDERR: | ^ BUILDSTDERR: hfsp.c: In function 'recover_HFSP': BUILDSTDERR: hfsp.c:103:21: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 103 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) BUILDSTDERR: | ^ switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef In file included from luks.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: luks.c: In function 'check_LUKS': BUILDSTDERR: luks.c:50:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 50 | if(test_LUKS(disk_car, (struct luks_phdr*)buffer, partition, 0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: luks.c:55:17: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 55 | set_LUKS_info((struct luks_phdr*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: In file included from netware.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: netware.c: In function 'check_netware': BUILDSTDERR: netware.c:53:19: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 53 | if(test_netware((const struct disk_netware *)buffer)!=0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from lvm.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: lvm.c: In function 'check_LVM': BUILDSTDERR: lvm.c:54:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 54 | if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from refs.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from refs.c:35: BUILDSTDERR: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 33 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat.c:39: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat.c:40: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat.c:39: BUILDSTDERR: fat.c: In function 'get_next_cluster_fat12': BUILDSTDERR: fat.c:245:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 245 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat.c:247:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 247 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat.c: In function 'get_next_cluster_fat16': BUILDSTDERR: fat.c:258:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 258 | const uint16_t *p16=(const uint16_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat.c: In function 'get_next_cluster_fat32': BUILDSTDERR: fat.c:279:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 279 | const uint32_t *p32=(const uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat.c: In function 'set_next_cluster': BUILDSTDERR: fat.c:354:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat.c:39: BUILDSTDERR: fat.c:354:76: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat.c:354:69: note: in expansion of macro 'le16' BUILDSTDERR: 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); BUILDSTDERR: | ^~~~ BUILDSTDERR: fat.c:356:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat.c:39: BUILDSTDERR: fat.c:356:74: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat.c:356:67: note: in expansion of macro 'le16' BUILDSTDERR: 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); BUILDSTDERR: | ^~~~ BUILDSTDERR: fat.c:360:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 360 | uint16_t *p16=(uint16_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat.c:366:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 366 | uint32_t *p32=(uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat.c: In function 'fat32_get_prev_cluster': BUILDSTDERR: fat.c:394:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 394 | p32=(const uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from fat.c:47: BUILDSTDERR: fat.c: In function 'fat_has_EFI_entry': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fat.c:779:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 779 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat.c: In function 'fat32_free_info': BUILDSTDERR: fat.c:1080:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1080 | p32=(const uint32_t*)buffer; BUILDSTDERR: | ^ -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAIn file included from ntfs.c:40: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs.c:42: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.c: In function 'ntfs_getattributeheaders': BUILDSTDERR: ntfs.c:195:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 195 | return (const ntfs_attribheader *)location; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.c: In function 'ntfs_searchattribute': BUILDSTDERR: ntfs.c:204:25: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 204 | le32(attrib->type)!= -1) BUILDSTDERR: | ^~ BUILDSTDERR: ntfs.c:217:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 217 | attrib=(const ntfs_attribheader*)((const char*)attrib + attr_len); BUILDSTDERR: | ^ BUILDSTDERR: In file included from md.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: md.c: In function 'check_MD': BUILDSTDERR: md.c:49:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 49 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: md.c:53:20: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 53 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:56:19: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 56 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:63:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 63 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:66:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 66 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:74:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 74 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: md.c:78:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 78 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:81:19: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 81 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:88:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 88 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:91:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 91 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:98:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 98 | const struct mdp_superblock_s *sb=(const struct mdp_superblock_s *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: md.c:108:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 108 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:111:21: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 111 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:117:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 117 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:120:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 120 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:136:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 136 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: md.c:140:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 140 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:143:21: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 143 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c:150:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 150 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:153:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 153 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); BUILDSTDERR: | ^ BUILDSTDERR: md.c: In function 'recover_MD_from_partition': BUILDSTDERR: md.c:171:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 171 | if(recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c:184:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 184 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: md.c:186:31: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 186 | recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) BUILDSTDERR: | ^ BUILDSTDERR: md.c: In function 'recover_MD': BUILDSTDERR: md.c:215:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 215 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; BUILDSTDERR: | ^ BUILDSTDERR: md.c:235:42: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; BUILDSTDERR: | ^ BUILDSTDERR: md.c: In function 'set_MD_info': BUILDSTDERR: md.c:275:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 275 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; BUILDSTDERR: | ^ BUILDSTDERR: md.c: In function 'set_MD_info_be': BUILDSTDERR: md.c:339:40: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 339 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; BUILDSTDERR: | ^ BUILDSTDERR: In file included from rfs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from rfs.c:36: BUILDSTDERR: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 73 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from savehdr.c:41: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ VE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arithIn file included from sun.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from sun.c:36: BUILDSTDERR: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 75 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from sysv.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from sysv.c:36: BUILDSTDERR: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 119 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from swap.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: swap.c: In function 'check_Linux_SWAP': BUILDSTDERR: swap.c:50:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 50 | if(test_Linux_SWAP((union swap_header*)buffer)!=0) BUILDSTDERR: | ^ BUILDSTDERR: swap.c:55:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 55 | set_Linux_SWAP_info((union swap_header*)buffer,partition); BUILDSTDERR: | ^ -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong In file included from vmfs.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from vmfs.c:36: BUILDSTDERR: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 42 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from wbfs.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from wbfs.c:36: BUILDSTDERR: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 39 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from xfs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from xfs.c:36: BUILDSTDERR: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 108 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from zfs.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: zfs.c: In function 'check_ZFS': BUILDSTDERR: zfs.c:50:21: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 50 | if(test_ZFS(disk, (struct vdev_boot_header*)buffer, partition, 0)!=0) BUILDSTDERR: | ^ BUILDSTDERR: zfs.c:55:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 55 | set_ZFS_info((struct vdev_boot_header*)buffer, partition); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpart.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpart.c:31: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpart.c:35: BUILDSTDERR: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 32 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ -c -o vmfs.o vmfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hIn file included from ufs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ufs.c:36: BUILDSTDERR: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 290 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 297 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 306 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 315 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 339 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 458 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpartn.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpartn.c:32: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from addpartn.c:35: BUILDSTDERR: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 32 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from chgarch.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from chgarchn.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -WIn file included from chgtype.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from adv.c:39: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from adv.c:47: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from adv.c:48: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from askloc.c:53: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: askloc.c: In function 'ask_location': BUILDSTDERR: askloc.c:314:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] BUILDSTDERR: 314 | line_directory=aff_txt(2, window, msg, src_dir); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from askloc.c:56: BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: askloc.c:349:25: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 349 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: askloc.c:519:13: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 519 | file_info=td_list_entry(current_file, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from dimage.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from chgtypen.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from chgtypen.c:45: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from diskacc.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ sign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CIn file included from dirpart.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dirpart.c:35: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dirpart.c:48: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from diskcapa.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ext2_sb.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from edit.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -WaIn file included from ext2_sbn.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ext2_sbn.c: In function 'search_superblock': BUILDSTDERR: ext2_sbn.c:88:31: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 88 | struct ext2_super_block *sb=(struct ext2_super_block *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat1x.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat1x.c:39: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dirn.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from dirn.c:41: BUILDSTDERR: dirn.c: In function 'dir_aff_ncurses': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:133:34: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 133 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:318:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 318 | selected_file=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:334:20: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 334 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:362:25: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 362 | file_info_t *tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:399:25: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 399 | file_info_t *tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:489:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 489 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:494:7: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 494 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:511:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 511 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:517:7: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 517 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:534:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 534 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:540:7: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 540 | tmp=td_list_entry(pos, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:558:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 558 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: dirn.c: In function 'copy_dir': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:661:18: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 661 | current_file=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: dirn.c: In function 'copy_selection': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dirn.c:719:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 719 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from fat32.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat32.c:40: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ll -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-cIn file included from fat_cluster.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_cluster.c:40: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatn.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatn.c:33: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from geometry.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from geometryn.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from hiddenn.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ode -Wvla -fstack-protector-strong -c -o fat32.o fat32.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protecIn file included from intrface.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from nodisk.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from intrfn.c:59: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from godmode.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from godmode.c:42: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from godmode.c:50: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: godmode.c: In function 'search_part': BUILDSTDERR: godmode.c:682:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 682 | if(recover_MD(disk_car, (const struct mdp_superblock_s*)buffer_disk, partition, verbose, dump_ind)==0) BUILDSTDERR: | ^ BUILDSTDERR: godmode.c:684:52: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 684 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer_disk; BUILDSTDERR: | ^ BUILDSTDERR: godmode.c:774:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 774 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; BUILDSTDERR: | ^ tor-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -WaggregaIn file included from ntfs_adv.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_adv.c:39: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: ntfs_adv.c: In function 'create_ntfs_boot_sector': BUILDSTDERR: ntfs_adv.c:271:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] BUILDSTDERR: 271 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntfs_adv.c:273:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] BUILDSTDERR: 273 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntfs_adv.c: In function 'read_mft_info': BUILDSTDERR: ntfs_adv.c:328:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 328 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs_adv.c:340:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 340 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_fix.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_fix.c:40: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from parti386n.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgptn.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ te-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c BUILDSTDERR: make[2]: Leaving directory '/builddir/build/BUILD/testdisk-In file included from partmacn.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partsunn.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partxboxn.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_adv.c:42: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_adv.c:43: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from fat_adv.c:49: BUILDSTDERR: fat_adv.c: In function 'ask_root_directory': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:207:39: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 207 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c: In function 'is_root_cluster_candidat': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c:303:28: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 303 | const file_info_t *file1=td_list_first_entry(&dir_list->list, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c:304:28: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 304 | const file_info_t *file2=td_list_next_entry(file1, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c: In function 'fat32_find_root_cluster': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c:373:39: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 373 | const file_info_t *first_entry=td_list_first_entry(&dir_list.list, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c: In function 'file2entry': BUILDSTDERR: fat_adv.c:626:44: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: fat_adv.c:626:54: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from fat_adv.c:49: BUILDSTDERR: fat_adv.c: In function 'fat32_create_rootdir': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:650:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 650 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c: In function 'analyse_dir_entries2': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:840:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 840 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_adv.c: In function 'fat_find_fat_start': BUILDSTDERR: fat_adv.c:1420:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1420 | const uint16_t *p16=(const uint16_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:1480:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1480 | const uint32_t *p32=(const uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c: In function 'repair_FAT_table': BUILDSTDERR: fat_adv.c:2596:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2596 | uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:2610:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2610 | uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr]; BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_adv.c:42: BUILDSTDERR: fat_adv.c:2621:36: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2621 | next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:2623:35: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2623 | next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:2627:19: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2627 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_adv.c:42: BUILDSTDERR: fat_adv.c:2627:91: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2627 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:2627:83: note: in expansion of macro 'le16' BUILDSTDERR: 2627 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); BUILDSTDERR: | ^~~~ BUILDSTDERR: fat_adv.c:2629:19: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2629 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_adv.c:42: BUILDSTDERR: fat_adv.c:2629:91: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 2629 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fat_adv.c:2629:83: note: in expansion of macro 'le16' BUILDSTDERR: 2629 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | 7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-ann ^~~~ BUILDSTDERR: In file included from tanalyse.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tbanner.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tdelete.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tdiskop.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ obin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -WdiIn file included from tdisksel.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_udl.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_udl.c:69: BUILDSTDERR: ntfs_udl.c: In function 'free_file': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:184:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 184 | struct filename *f = td_list_entry(item, struct filename, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:191:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 191 | struct data *d = td_list_entry(item, struct data, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'get_parent_name': BUILDSTDERR: ntfs_udl.c:305:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 305 | if (ntfs_ucstombs(filename_attr->file_name, BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'get_filenames': BUILDSTDERR: ntfs_udl.c:394:22: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 394 | name->uname = attr->file_name; BUILDSTDERR: | ^~~~ BUILDSTDERR: ntfs_udl.c: In function 'get_data': BUILDSTDERR: ntfs_udl.c:475:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 475 | data->uname = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_udl.c:69: BUILDSTDERR: ntfs_udl.c: In function 'calc_percentage': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:631:13: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 631 | data = td_list_entry(pos, struct data, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'undelete_file': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:893:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 893 | struct data *d = td_list_entry(item, struct data, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'scan_disk': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1168:29: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 1168 | const struct data *d = td_list_entry_const(item, const struct data, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'ntfs_next_non_deleted': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1199:15: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 1199 | file_info=td_list_entry_const(walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'ntfs_prev_non_deleted': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1213:15: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 1213 | file_info=td_list_entry_const(walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'ntfs_undelete_menu_ncurses': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1250:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1250 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1400:16: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1400 | file_info=td_list_entry(current_file, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1404:18: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1404 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1419:13: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1419 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1433:16: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1433 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1447:13: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1447 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1460:16: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1460 | file_info=td_list_entry(current_file, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1473:16: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1473 | file_info=td_list_entry(current_file, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1545:18: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1545 | file_info=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ntfs_udl.c: In function 'ntfs_undelete_cli': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_udl.c:1603:34: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 1603 | const file_info_t *file_info=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from texfat.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from texfat.c:39: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from thfs.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from thfs.c:39: BUILDSTDERR: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 34 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 77 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: thfs.c: In function 'HFS_HFSP_boot_sector_rescan': BUILDSTDERR: thfs.c:117:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 117 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0) BUILDSTDERR: | ^ BUILDSTDERR: thfs.c:135:30: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 135 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from testdisk.c:44: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ sabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -In file included from tlog.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tload.c:40: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from savehdr.h:26, BUILDSTDERR: from tload.c:46: BUILDSTDERR: tload.c: In function 'interface_load_ncurses': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: tload.c:102:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 102 | backup=td_list_entry(backup_walker, backup_disk_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: tload.c: In function 'interface_load': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: tload.c:204:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 204 | backup=td_list_entry(backup_walker, backup_disk_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: tload.c:215:12: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 215 | backup=td_list_entry(backup_current, backup_disk_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: tload.c:228:14: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 228 | backup=td_list_entry(backup_walker, backup_disk_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from tmbrcode.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from toptions.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tpartwr.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-deIn file included from tntfs.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from tntfs.c:39: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ext2fs/ext2fs.h:97, BUILDSTDERR: from ext2_dir.c:38: BUILDSTDERR: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here BUILDSTDERR: 20 | struct ext2fs_hashmap_entry *first; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here BUILDSTDERR: In file included from ext2_dir.c:42: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ext2_dir.c: In function 'alloc_io_channel': BUILDSTDERR: ext2_dir.c:108:44: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 108 | static io_channel alloc_io_channel(disk_t *disk_car,my_data_t *my_data) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: ext2_dir.c: In function 'my_open': BUILDSTDERR: ext2_dir.c:135:38: warning: unused parameter 'dev' [-Wunused-parameter] BUILDSTDERR: 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ext2_dir.c:135:47: warning: unused parameter 'flags' [-Wunused-parameter] BUILDSTDERR: 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: ext2_dir.c: In function 'my_flush': BUILDSTDERR: ext2_dir.c:209:38: warning: unused parameter 'channel' [-Wunused-parameter] BUILDSTDERR: 209 | static errcode_t my_flush(io_channel channel) BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~ BUILDSTDERR: ext2_dir.c: In function 'list_dir_proc2': BUILDSTDERR: ext2_dir.c:214:38: warning: unused parameter 'dir' [-Wunused-parameter] BUILDSTDERR: 214 | static int list_dir_proc2(ext2_ino_t dir, BUILDSTDERR: | ~~~~~~~~~~~^~~ BUILDSTDERR: ext2_dir.c:217:9: warning: unused parameter 'offset' [-Wunused-parameter] BUILDSTDERR: 217 | int offset, BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: ext2_dir.c:218:9: warning: unused parameter 'blocksize' [-Wunused-parameter] BUILDSTDERR: 218 | int blocksize, BUILDSTDERR: | ~~~~^~~~~~~~~ BUILDSTDERR: ext2_dir.c:219:11: warning: unused parameter 'buf' [-Wunused-parameter] BUILDSTDERR: 219 | char *buf, BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: ext2_dir.c: In function 'ext2_dir': BUILDSTDERR: ext2_dir.c:267:29: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 267 | 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) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: ext2_dir.c:267:58: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 267 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ext2_dir.c: In function 'ext2_copy': BUILDSTDERR: ext2_dir.c:288:30: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: ext2_dir.c:288:59: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from exfat_dir.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfat_dir.c:46: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfat_dir.c:53: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat_dir.c: In function 'exfat_ucstoutf8': BUILDSTDERR: exfat_dir.c:93:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) BUILDSTDERR: | ^ BUILDSTDERR: exfat_dir.c: In function 'exfat_get_next_cluster': BUILDSTDERR: exfat_dir.c:114:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 114 | const uint32_t *p32=(const uint32_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.c:47: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from dir.c:48: BUILDSTDERR: dir.c: In function 'dir_aff_log': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:196:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 196 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dir.c: In function 'log_list_file': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:236:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 236 | const file_info_t *current_file=td_list_entry_const(tmp, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dir.c: In function 'delete_list_file': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:259:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 259 | tmp=td_list_entry(file_walker, file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: dir.c: In function 'dir_whole_partition_log_aux': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:300:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 300 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dir.c: In function 'dir_whole_partition_copy_aux': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:339:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 339 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dir.c: In function 'filesort': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:390:29: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 390 | const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dir.c:391:29: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 391 | const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ clarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protectorIn file included from rfs_dir.c:44: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from rfs_dir.c:46: BUILDSTDERR: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 73 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: rfs_dir.c: In function 'dir_partition_reiser_init': BUILDSTDERR: rfs_dir.c:548:51: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: rfs_dir.c:548:80: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: rfs_dir.c:548:103: warning: unused parameter 'dir_data' [-Wunused-parameter] BUILDSTDERR: 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: rfs_dir.c:548:123: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from ntfs_dir.c:71: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfs_dir.c:73: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: ntfs_dir.c: In function 'ntfs_ucstoutf8': BUILDSTDERR: ntfs_dir.c:151:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: 151 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) BUILDSTDERR: | ^ BUILDSTDERR: ntfs_dir.c: In function 'ntfs_td_list_entry': BUILDSTDERR: ntfs_dir.c:265:20: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 265 | if (ntfs_ucstombs((ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)), BUILDSTDERR: | ^ BUILDSTDERR: ntfs_dir.c:167:54: warning: unused parameter 'pos' [-Wunused-parameter] BUILDSTDERR: 167 | const int name_len, const int name_type, const s64 pos, BUILDSTDERR: | ~~~~~~~~~~^~~ BUILDSTDERR: ntfs_dir.c: In function 'ntfs_dir': BUILDSTDERR: ntfs_dir.c:299:29: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 299 | 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) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: ntfs_dir.c:299:58: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 299 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: ntfs_dir.c: In function 'ntfs_copy': BUILDSTDERR: ntfs_dir.c:334:30: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: ntfs_dir.c:334:59: warning: unused parameter 'partition' [-Wunused-parameter] BUILDSTDERR: 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from fat_dir.c:42: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_dir.c:43: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c: In function 'dir_fat_aux': BUILDSTDERR: fat_dir.c:102:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 102 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c:102: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] BUILDSTDERR: 102 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: fat_dir.c:109:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 109 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c:109: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] BUILDSTDERR: 109 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: fat_dir.c:126:12: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 126 | ds = (const struct msdos_dir_slot *) de_initial; BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c:126: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] BUILDSTDERR: 126 | ds = (const struct msdos_dir_slot *) de_initial; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: fat_dir.c:160:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 160 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c:160: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] BUILDSTDERR: 160 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: fat_dir.c:191:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 191 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^ BUILDSTDERR: fat_dir.c:191:21: 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] BUILDSTDERR: 191 | ds = (const struct msdos_dir_slot *) de; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from partgptw.c:44: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgptw.c:46: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partgptw.c: In function 'partition_generate_gpt_entry': BUILDSTDERR: partgptw.c:109:13: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 109 | str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2); BUILDSTDERR: | ^ BUILDSTDERR: partgptw.c: In function 'write_part_gpt': BUILDSTDERR: partgptw.c:244:87: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: 244 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) BUILDSTDERR: | ^~ BUILDSTDERR: partgptw.c:219:92: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 219 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ -strong -c -o dir.o dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -speIn file included from next.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from phcfg.c:41: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfatp.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfatp.c:35: BUILDSTDERR: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 84 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 93 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from exfatp.c:37: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ cs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -WuIn file included from phmain.c:59: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ext2grp.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ext2grp.c: In function 'ext2_fix_group': BUILDSTDERR: ext2grp.c:60:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 60 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ext2grp.c:31: BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ext2grp.c:65:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 65 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ext2grp.c: In function 'ext2_fix_inode': BUILDSTDERR: ext2grp.c:97:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 97 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ext2grp.c:31: BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: ext2grp.c:103:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 103 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from ext2p.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/ext2fs/ext2fs.h:97, BUILDSTDERR: from ext2p.c:42: BUILDSTDERR: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here BUILDSTDERR: 20 | struct ext2fs_hashmap_entry *first; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here BUILDSTDERR: In file included from file_found.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatp.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatp.c:35: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fatp.c:31: BUILDSTDERR: fatp.c: In function 'fat12_remove_used_space': BUILDSTDERR: fatp.c:69:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 69 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fatp.c:71:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 71 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; BUILDSTDERR: | ^ BUILDSTDERR: common.h:457:19: note: in definition of macro 'le16' BUILDSTDERR: 457 | #define le16(x) (x) /* x as little endian */ BUILDSTDERR: | ^ BUILDSTDERR: fatp.c: In function 'fat16_remove_used_space': BUILDSTDERR: fatp.c:101:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 101 | p16=(const uint16_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: fatp.c: In function 'fat32_remove_used_space': BUILDSTDERR: fatp.c:145:7: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 145 | p32=(uint32_t*)buffer; BUILDSTDERR: | ^ ndef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]: Entering directory '/builddir/build/BUILD/tIn file included from pdisksel.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from pdisksel.c:33: BUILDSTDERR: pdisksel.c: In function 'photorec_disk_selection_cli': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pdisksel.c:56:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 56 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from ntfsp.c:37: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ntfsp.c:51: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: In file included from poptions.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from photorec.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from photorec.c:47: BUILDSTDERR: photorec.c: In function 'file_block_log': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:74:33: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 74 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'update_search_space_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:102:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 102 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:130:35: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 130 | *new_current_search_space=td_list_next_entry(current_search_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:149:30: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 149 | *new_current_search_space=td_list_next_entry(current_search_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:159:28: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 159 | *new_current_search_space=td_list_next_entry(current_search_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'free_list_search_space': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:226:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 226 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'get_prev_file_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:372:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:287:16: note: in expansion of macro 'td_list_prev_entry' BUILDSTDERR: 287 | file_space=td_list_prev_entry(file_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'forget': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:316:11: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 316 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'update_stats': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:355:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 355 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'find_blocksize': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:428:12: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 428 | *offset=(td_list_first_entry(&list_search_space->list, alloc_data_t, list))->start % blocksize; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:434:31: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 434 | const alloc_data_t *tmp=td_list_entry_const(search_walker, const alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'update_blocksize': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:458:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 458 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:464:40: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 464 | alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:468:39: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 468 | alloc_data_t *prev_search_space=td_list_entry(search_walker_prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:492:40: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 492 | alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_free': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:512:21: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 512 | allocated_space=td_list_entry(tmp, alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'info_list_search_space': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:666:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 666 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'free_search_space': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:697:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 697 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'set_search_start_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:729:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 729 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:738:29: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 738 | *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'set_search_start': BUILDSTDERR: photorec.c:744:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 744 | if(params->offset!=-1) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from photorec.c:47: BUILDSTDERR: photorec.c: In function 'file_block_remove_from_sp_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:873:31: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 873 | *new_current_search_space=td_list_next_entry(tmp, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:882:31: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 882 | *new_current_search_space=td_list_next_entry(tmp, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_remove_from_sp': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:908:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 908 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:918:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 918 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_add_to_file': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:355:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 355 | td_list_entry((ptr)->prev, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c:932:24: note: in expansion of macro 'td_list_last_entry' BUILDSTDERR: 932 | alloc_list_t *prev=td_list_last_entry(&list->list, alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_truncate_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:962:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 962 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_truncate_zero_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:1008:9: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1008 | tmp=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_truncate_zero': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:1049:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1049 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_truncate': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:1070:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1070 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_offset_end': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:1097:31: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 1097 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: photorec.c: In function 'file_block_move': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec.c:1107:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 1107 | alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ estdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -WdeIn file included from phcli.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from phcli.c:36: BUILDSTDERR: phcli.c: In function 'spacerange_cmp': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phcli.c:48:31: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 48 | const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phcli.c:49:31: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 49 | const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pbanner.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dfxml.c:53: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from dfxml.c:54: BUILDSTDERR: dfxml.c: In function 'xml_log_file_recovered': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: dfxml.c:334:33: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 334 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from sessionp.c:46: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: sessionp.c: In function 'session_save': BUILDSTDERR: sessionp.c:291:60: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 291 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from sessionp.c:48: BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: sessionp.c:298:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 298 | current_free_space=td_list_entry(free_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from pfree_whole.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ claration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -WIn file included from pblocksize.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_unformat.c:40: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from fat_unformat.c:44: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from fat_unformat.c:43: BUILDSTDERR: pnext.h: In function 'get_next_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'get_prev_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_unformat.c: In function 'pfind_sectors_per_cluster': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_unformat.c:71:24: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 71 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fat_unformat.c: In function 'fat_unformat_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:355:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 355 | td_list_entry((ptr)->prev, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_unformat.c:241:24: note: in expansion of macro 'td_list_last_entry' BUILDSTDERR: 241 | current_search_space=td_list_last_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: fat_unformat.c:247:24: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 247 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fat_unformat.c:274:36: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 274 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pdiskseln.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from phbs.c:41: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from phbs.c:46: BUILDSTDERR: pnext.h: In function 'get_next_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'get_prev_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbs.c: In function 'photorec_find_blocksize': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbs.c:91:24: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 91 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbs.c:114:33: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 114 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbs.c:117:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 117 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ c++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=In file included from phnc.c:36: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ppartseln.c:37: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from phrecn.c:45: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from phrecn.c:59: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from phrecn.c:58: BUILDSTDERR: pnext.h: In function 'get_next_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'get_prev_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from phrecn.c:58: BUILDSTDERR: phrecn.c: In function 'gen_image': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phrecn.c:213:26: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 213 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phrecn.c: In function 'photorec': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phrecn.c:327:22: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 327 | start_offset=(td_list_first_entry(&list_search_space->list, alloc_data_t, list))->start % params->blocksize; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phrecn.c:438:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 438 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from phbf.c:44: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from phbf.c:57: BUILDSTDERR: pnext.h: In function 'get_next_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'get_prev_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbf.c: In function 'next_file': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbf.c:100:9: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 100 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phbf.c: In function 'get_offset_next_file': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbf.c:115:9: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 115 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phbf.c: In function 'photorec_bf': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbf.c:152:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 152 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbf.c:177:35: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 177 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: phbf.c:180:39: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 180 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: phbf.c: In function 'photorec_bf_frag': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:355:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 355 | td_list_entry((ptr)->prev, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbf.c:593:35: note: in expansion of macro 'td_list_last_entry' BUILDSTDERR: 593 | const alloc_list_t *element=td_list_last_entry(&file_recovery->location.list, alloc_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbf.c:597:31: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 597 | extractblock_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:364:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: phbf.c:602:33: note: in expansion of macro 'td_list_next_entry' BUILDSTDERR: 602 | extractblock_search_space=td_list_next_entry(extractblock_search_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ 2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -WsIn file included from file_1cd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_1cd.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_1cd.c: In function 'header_check_1cd': BUILDSTDERR: file_1cd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_1cd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_1cd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from psearchn.c:51: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from psearchn.c:55: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from psearchn.c:54: BUILDSTDERR: pnext.h: In function 'get_next_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'get_prev_header': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from psearchn.c:65: BUILDSTDERR: psearch.h: In function 'ind_block': BUILDSTDERR: psearch.h:37:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 37 | const uint32_t *p32=(const uint32_t *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from psearchn.c:54: BUILDSTDERR: photorec_check_header.h: In function 'photorec_check_header': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec_check_header.h:150:34: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 150 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec_check_header.h:153:38: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 153 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: psearchn.c: In function 'photorec_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: psearchn.c:102:24: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 102 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_3dm.c: In function 'header_check_3dm': BUILDSTDERR: file_3dm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_3dm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_7z.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_7z.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_7z.c: In function 'header_check_7z': BUILDSTDERR: file_7z.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_7z.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_7z.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ hadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c BUILDSTDERR: make[2]: Leafile_DB.c: In function 'header_check_DB': BUILDSTDERR: file_DB.c:43:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_DB.c:43:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_DB.c:43:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_DB.c:43:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_a.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_a.c: In function 'header_check_a': BUILDSTDERR: file_a.c:55:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_a.c:55:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_a.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ab.c:28: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ab.c:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ab.c: In function 'header_check_addressbook': BUILDSTDERR: file_ab.c:71:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ab.c:71:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ab.c:71:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_acb.c: In function 'header_check_acb': BUILDSTDERR: file_acb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_acb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_acb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_acb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_abr.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_abr.c:41:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 41 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_abr.c: In function 'header_check_abr': BUILDSTDERR: file_abr.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_abr.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-ccfile_ado.c: In function 'header_check_ado': BUILDSTDERR: file_ado.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ado.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ado.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_afdesign.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_afdesign.c: In function 'header_check_afdesign': BUILDSTDERR: file_afdesign.c:65:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 65 | const struct afdesign_header *hdr=(const struct afdesign_header*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_afdesign.c:63:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_afdesign.c:63:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_afdesign.c:63:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ace.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ace.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 59 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ace.c: In function 'header_check_ace': BUILDSTDERR: file_ace.c:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 173 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ace.c:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 173 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ace.c:173:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 173 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ahn.c: In function 'header_check_ahn': BUILDSTDERR: file_ahn.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ahn.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ahn.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundfile_all.c: In function 'header_check_all': BUILDSTDERR: file_all.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_all.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_all.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_all.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from filegen.c:39: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from filegen.c:40: BUILDSTDERR: filegen.c: In function 'file_check_cmp': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:56:28: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 56 | const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:57:28: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 57 | const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: filegen.c: In function 'index_header_check_aux': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:104:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 104 | file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: filegen.c: In function 'index_header_check': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:134:19: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 134 | current_check=td_list_entry(tmp, file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: filegen.c: In function 'free_header_check': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:149:28: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 149 | file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: filegen.c:161:16: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 161 | current_check=td_list_entry(tmp, file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: filegen.c: In function 'data_check_size': BUILDSTDERR: filegen.c:282:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 282 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from filegen.c:40: BUILDSTDERR: filegen.c: In function 'get_prev_location_smart': BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:372:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: filegen.c:669:16: note: in expansion of macro 'td_list_prev_entry' BUILDSTDERR: 669 | file_space=td_list_prev_entry(file_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:372:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: filegen.c:689:16: note: in expansion of macro 'td_list_prev_entry' BUILDSTDERR: 689 | file_space=td_list_prev_entry(file_space, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_aif.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_aif.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_aif.c: In function 'header_check_aif': BUILDSTDERR: file_aif.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_aif.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_aif.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_als.c: In function 'header_check_als': BUILDSTDERR: file_als.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_als.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_als.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_amd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_amd.c: In function 'header_check_amd': BUILDSTDERR: file_amd.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_amd.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_amd.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_amd.c: In function 'header_check_amt': BUILDSTDERR: file_amd.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_amd.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_amd.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]: Entering directory '/builddir/build/BUILD/In file included from file_apa.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_apa.c: In function 'header_check_apa': BUILDSTDERR: file_apa.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_apa.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_apa.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_amr.c: In function 'header_check_amr': BUILDSTDERR: file_amr.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_amr.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_amr.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ape.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ape.c:85:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 85 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ape.c: In function 'header_check_ape': BUILDSTDERR: file_ape.c:104:36: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 104 | const struct APE_HEADER_OLD *ape=(const struct APE_HEADER_OLD*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_ape.c:109:35: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 109 | const struct APE_HEADER *apeh=(const struct APE_HEADER*)&buffer[le32(descr->nDescriptorBytes)]; BUILDSTDERR: | ^ BUILDSTDERR: file_ape.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 102 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ape.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 102 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protectifile_apple.c: In function 'header_check_apple': BUILDSTDERR: file_apple.c:43:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_apple.c:43:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_apple.c:43:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_apple.c:43:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ari.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ari.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ari.c: In function 'header_check_ari': BUILDSTDERR: file_ari.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ari.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ari.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_arj.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_arj.c:117:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 117 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_arj.c: In function 'header_check_arj': BUILDSTDERR: file_arj.c:125:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 125 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_arj.c:125:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 125 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_arj.c:125:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 125 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_asl.c: In function 'header_check_asl': BUILDSTDERR: file_asl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_asl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_asl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_asl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ on -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-formatIn file included from file_asf.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_asf.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_asf.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 61 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_asf.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_asf.c: In function 'header_check_asf': BUILDSTDERR: file_asf.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_asf.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_atd.c: In function 'header_check_atd': BUILDSTDERR: file_atd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_atd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_atd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_atd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_asm.c: In function 'header_check_asm': BUILDSTDERR: file_asm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_asm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_asm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_au.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_au.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 54 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_au.c: In function 'header_check_au': BUILDSTDERR: file_au.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_au.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_au.c:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_axp.c: In function 'header_check_axp': BUILDSTDERR: file_axp.c:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_axp.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_axp.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_axp.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_axx.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_axx.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_axx.c: In function 'header_check_axx': BUILDSTDERR: file_axx.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_axx.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_axx.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIn file included from file_bac.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bac.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bac.c: In function 'header_check_bac': BUILDSTDERR: file_bac.c:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bac.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bac.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_bdm.c: In function 'header_check_bdm': BUILDSTDERR: file_bdm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_bdm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bdm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bdm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_berkeley.c: In function 'header_check_berkeley_le': BUILDSTDERR: file_berkeley.c:44:58: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_berkeley.c:44:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_berkeley.c:44:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_berkeley.c:44:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_bim.c: In function 'header_check_bim': BUILDSTDERR: file_bim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_bim.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bim.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bim.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ IFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -WmisIn file included from file_bin.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bin.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 52 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bin.c: In function 'header_check_bin': BUILDSTDERR: file_bin.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bin.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bin.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_binvox.c: In function 'header_check_binvox': BUILDSTDERR: file_binvox.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_binvox.c:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_binvox.c:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_binvox.c:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_bkf.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bkf.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 63 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bkf.c: In function 'header_check_bkf': BUILDSTDERR: file_bkf.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bkf.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bkf.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_bmp.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bmp.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 59 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_bmp.c: In function 'header_check_bmp': BUILDSTDERR: file_bmp.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bmp.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bmp.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ sing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strfile_bpg.c: In function 'header_check_bpg': BUILDSTDERR: file_bpg.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bpg.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_bvr.c: In function 'data_check_bvr': BUILDSTDERR: file_bvr.c:50:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 50 | const uint32_t *valp=(const uint32_t *)&buffer[i+12]; BUILDSTDERR: | ^ BUILDSTDERR: file_bvr.c: In function 'header_check_bvr': BUILDSTDERR: file_bvr.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_bvr.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bvr.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bld.c: In function 'header_check_blend': BUILDSTDERR: file_bld.c:140:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 140 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bld.c:140:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 140 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bld.c:140:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 140 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_bz2.c: In function 'header_check_bz2': BUILDSTDERR: file_bz2.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_bz2.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_bz2.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ong -c -o file_bmp.o file_bmp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-sfile_c4d.c: In function 'header_check_c4d': BUILDSTDERR: file_c4d.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_c4d.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_c4d.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_c4d.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_cab.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_cab.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 58 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_cab.c: In function 'header_check_cab': BUILDSTDERR: file_cab.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cab.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cab.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_cam.c: In function 'header_check_cam': BUILDSTDERR: file_cam.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_cam.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cam.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cam.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_catdrawing.c: In function 'header_check_catdrawing': BUILDSTDERR: file_catdrawing.c:44:57: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_catdrawing.c:44:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_catdrawing.c:44:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_catdrawing.c:44:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_caf.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_caf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_caf.c: In function 'header_check_caf': BUILDSTDERR: file_caf.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_caf.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_caf.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ witches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregatfile_cdt.c: In function 'header_check_cdt': BUILDSTDERR: file_cdt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cdt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cdt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_chm.c: In function 'header_check_chm': BUILDSTDERR: file_chm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_chm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_chm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_cm.c: In function 'header_check_cm': BUILDSTDERR: file_cm.c:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_cm.c:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cm.c:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cm.c:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ e-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c BUILDSTDERR: make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1In file included from file_che.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_che.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 52 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_che.c: In function 'header_check_che': BUILDSTDERR: file_che.c:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 87 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_che.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 87 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_che.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 87 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_che.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 87 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_class.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_class.c: In function 'header_check_class': BUILDSTDERR: file_class.c:63:35: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 63 | const struct class_header *cafe=(const struct class_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_class.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_class.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_class.c:61:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_compress.c: In function 'header_check_compress': BUILDSTDERR: file_compress.c:44:55: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_compress.c:44:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_compress.c:44:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_compress.c:44:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_cpi.c: In function 'header_check_cpi': BUILDSTDERR: file_cpi.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_cpi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cpi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cpi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_crw.c: In function 'header_check_crw': BUILDSTDERR: file_crw.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_crw.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_crw.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhatIn file included from file_cow.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_cow.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 59 | } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; BUILDSTDERR: | ^ BUILDSTDERR: file_cow.c: In function 'header_check_qcow1': BUILDSTDERR: file_cow.c:77:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 77 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cow.c:77:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 77 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cow.c:77:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 77 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_cow.c: In function 'header_check_qcow2': BUILDSTDERR: file_cow.c:92:31: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 92 | const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_cow.c:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 90 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cow.c:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 90 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cow.c:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 90 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_csh.c: In function 'header_check_csh': BUILDSTDERR: file_csh.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_csh.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_csh.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_csh.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ctg.c: In function 'header_check_ctg': BUILDSTDERR: file_ctg.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_ctg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ctg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ctg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_cwk.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_cwk.c:65:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 65 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_cwk.c: In function 'header_check_cwk': BUILDSTDERR: file_cwk.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_cwk.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_cwk.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-extefile_dar.c: In function 'header_check_dar': BUILDSTDERR: file_dar.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dar.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dar.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_d2s.c:30: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_d2s.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_d2s.c: In function 'header_check_d2s': BUILDSTDERR: file_d2s.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_d2s.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_d2s.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_dad.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dad.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 52 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dad.c: In function 'header_check_dad': BUILDSTDERR: file_dad.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dad.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dbn.c: In function 'header_check_dbn': BUILDSTDERR: file_dbn.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dbn.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dbn.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dat.c: In function 'header_check_dat': BUILDSTDERR: file_dat.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dat.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dat.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dat.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dat.c: In function 'header_check_datIE': BUILDSTDERR: file_dat.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dat.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dat.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dat.c: In function 'header_check_dat_history4': BUILDSTDERR: file_dat.c:66:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dat.c:66:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dat.c:66:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dat.c: In function 'header_check_dat_history10': BUILDSTDERR: file_dat.c:76:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 76 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dat.c:76:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 76 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dat.c:76:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 76 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rns -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_file_dbf.c: In function 'header_check_dbf': BUILDSTDERR: file_dbf.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dbf.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dbf.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dcm.c: In function 'header_check_dcm': BUILDSTDERR: file_dcm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dcm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dcm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dcm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dim.c: In function 'header_check_dim': BUILDSTDERR: file_dim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dim.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dim.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dim.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_dex.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dex.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 72 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dex.c: In function 'header_check_dex': BUILDSTDERR: file_dex.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dex.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dex.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ddf.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ddf.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 80 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ddf.c: In function 'header_check_ddf3': BUILDSTDERR: file_ddf.c:94:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ddf.c:94:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ddf.c:94:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ddf.c: In function 'header_check_ddf4': BUILDSTDERR: file_ddf.c:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ddf.c:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ddf.c:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ddf.c: In function 'header_check_ddf5': BUILDSTDERR: file_ddf.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 114 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ddf.c:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 114 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ddf.c:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 114 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -WaIn file included from file_dir.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_dir.c:36: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dir.c: In function 'data_check_fatdir': BUILDSTDERR: file_dir.c:71:60: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 71 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dir.c: In function 'header_check_dir': BUILDSTDERR: file_dir.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 78 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dir.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 78 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dir.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 78 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dmp.c: In function 'header_check_dmp': BUILDSTDERR: file_dmp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dmp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dmp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_djv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_djv.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_djv.c: In function 'header_check_djv': BUILDSTDERR: file_djv.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_djv.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_djv.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ll -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -WfoIn file included from file_dpx.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dpx.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dpx.c: In function 'header_check_dpx': BUILDSTDERR: file_dpx.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dpx.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dpx.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ds2.c: In function 'header_check_ds2': BUILDSTDERR: file_ds2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ds2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ds2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_drw.c: In function 'header_check_drw': BUILDSTDERR: file_drw.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_drw.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_drw.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ds_store.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ds_store.c: In function 'header_check_ds_store': BUILDSTDERR: file_ds_store.c:57:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 57 | const struct ds_store_header *hdr=(const struct ds_store_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_ds_store.c:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ds_store.c:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ds_store.c:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dsc.c: In function 'header_check_dsc': BUILDSTDERR: file_dsc.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dsc.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dsc.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dss.c: In function 'header_check_dss': BUILDSTDERR: file_dss.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dss.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dss.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rmat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_file_dta.c: In function 'header_check_dta': BUILDSTDERR: file_dta.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dta.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dta.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dta.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dst.c: In function 'header_check_dst': BUILDSTDERR: file_dst.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dst.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dst.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_dump.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dump.c: In function 'header_check_dump': BUILDSTDERR: file_dump.c:128:34: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 128 | const struct dump_struct *dump=(const struct dump_struct*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_dump.c:126:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 126 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dump.c:126:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 126 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dump.c:126:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 126 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dvi.c: In function 'header_check_dvi': BUILDSTDERR: file_dvi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dvi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dvi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes file_dvr.c: In function 'header_check_dvr': BUILDSTDERR: file_dvr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dvr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dwg.c: In function 'header_check_dwg': BUILDSTDERR: file_dwg.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dwg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dwg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dwg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_dv.c: In function 'header_check_dv': BUILDSTDERR: file_dv.c:131:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 131 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dv.c:131:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 131 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_dxf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_dxf.c: In function 'header_check_dxf': BUILDSTDERR: file_dxf.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_dxf.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_dxf.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_dxf.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c BUILDSTDERR: make[2]: LeIn file included from file_e01.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_e01.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_e01.c: In function 'header_check_e01': BUILDSTDERR: file_e01.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_e01.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_e01.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_edb.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_edb.c: In function 'header_check_edb': BUILDSTDERR: file_edb.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_edb.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_edb.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ecryptfs.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ecryptfs.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ecryptfs.c: In function 'header_check_ecryptfs': BUILDSTDERR: file_ecryptfs.c:71:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ecryptfs.c:71:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ecryptfs.c:71:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_elf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_elf.c: In function 'header_check_elf': BUILDSTDERR: file_elf.c:122:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 122 | const Elf32_Ehdr *hdr32=(const Elf32_Ehdr *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_elf.c:139:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 139 | const Elf64_Ehdr *hdr64=(const Elf64_Ehdr *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_elf.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_elf.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_elf.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_emf.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_emf.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 80 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_emf.c: In function 'header_check_emf': BUILDSTDERR: file_emf.c:204:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 204 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_emf.c:204:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 204 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_emf.c:204:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 204 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ aving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhatfile_ess.c: In function 'header_check_ess': BUILDSTDERR: file_ess.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_ess.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ess.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ess.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_evt.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_evt.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 51 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_evt.c: In function 'header_check_evt': BUILDSTDERR: file_evt.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 84 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_evt.c:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 84 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_evt.c:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 84 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_doc.c:37: BUILDSTDERR: ole.h:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ole.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 78 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_doc.c: In function 'ole_get_file_extension': BUILDSTDERR: file_doc.c:211:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 211 | fat=(const uint32_t *)(header+1); BUILDSTDERR: | ^ BUILDSTDERR: file_doc.c:216:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 216 | const uint32_t *fati=(const uint32_t *)(header+1); BUILDSTDERR: | ^ BUILDSTDERR: file_doc.c:218:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 218 | fat=(const uint32_t *)&buffer[fat_offset]; BUILDSTDERR: | ^ BUILDSTDERR: file_doc.c: In function 'header_check_doc': BUILDSTDERR: file_doc.c:389:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 389 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_doc.c:389:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 389 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_doc.c: In function 'get32u': BUILDSTDERR: file_doc.c:616:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 616 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); BUILDSTDERR: | ^ BUILDSTDERR: file_doc.c: In function 'get64u': BUILDSTDERR: file_doc.c:622:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 622 | const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: file_doc.c: In function 'header_check_doc': BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:447:11: note: called from here BUILDSTDERR: 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:451:11: note: called from here BUILDSTDERR: 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:455:11: note: called from here BUILDSTDERR: 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:456:7: note: called from here BUILDSTDERR: 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:457:7: note: called from here BUILDSTDERR: 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:458:7: note: called from here BUILDSTDERR: 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:462:11: note: called from here BUILDSTDERR: 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:466:11: note: called from here BUILDSTDERR: 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:470:11: note: called from here BUILDSTDERR: 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:474:11: note: called from here BUILDSTDERR: 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:478:11: note: called from here BUILDSTDERR: 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:482:11: note: called from here BUILDSTDERR: 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:486:11: note: called from here BUILDSTDERR: 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:487:10: note: called from here BUILDSTDERR: 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_doc.c:39: BUILDSTDERR: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] BUILDSTDERR: 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_doc.c:491:11: note: called from here BUILDSTDERR: 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -WundefIn file included from file_evtx.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_evtx.c:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 48 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_evtx.c: In function 'header_check_evtx': BUILDSTDERR: file_evtx.c:61:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_evtx.c:61:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_evtx.c:61:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_exs.c: In function 'header_check_exs': BUILDSTDERR: file_exs.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_exs.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_exs.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ext2.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ext2.c: In function 'header_check_ext2_fs': BUILDSTDERR: file_ext2.c:57:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 57 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer[0x400]; BUILDSTDERR: | ^ BUILDSTDERR: file_ext2.c:55:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ext2.c:55:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ext.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ext.c: In function 'file_rename_ext': BUILDSTDERR: file_ext.c:52:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 52 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_ext.c: In function 'header_check_ext2_sb': BUILDSTDERR: file_ext.c:68:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 68 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_ext.c:66:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ext.c:66:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ext.c:66:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ext.c: In function 'data_check_extdir': BUILDSTDERR: file_ext.c:80:60: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 80 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_ext.c: In function 'file_rename_extdir': BUILDSTDERR: file_ext.c:93:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 93 | const uint32_t *inode=(const uint32_t *)&buffer[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_ext.c: In function 'header_check_ext2_dir': BUILDSTDERR: file_ext.c:104:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ext.c:104:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ext.c:104:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fbf.c: In function 'header_check_fbf': BUILDSTDERR: file_fbf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fbf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fbf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fbf.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]: Entering directory '/builddfile_fbk.c: In function 'header_check_fbk': BUILDSTDERR: file_fbk.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fbk.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fbk.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fbk.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fat.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_fat.c:38: BUILDSTDERR: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fat.c: In function 'header_check_fat': BUILDSTDERR: file_fat.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fat.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fat.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 60 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fcp.c: In function 'header_check_fcp': BUILDSTDERR: file_fcp.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fcp.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fcp.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fcp.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_exe.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_exe.c:36: BUILDSTDERR: pe.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 71 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 105 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:138:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 138 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: pe.h:157:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 157 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_exe.c: In function 'header_check_exe': BUILDSTDERR: file_exe.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_exe.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_exe.c: At top level: BUILDSTDERR: file_exe.c:214:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 214 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_exe.c:221:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 221 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ ir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstackfile_fdb.c: In function 'header_check_fdb': BUILDSTDERR: file_fdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fdb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fdb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fds.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fds.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fds.c: In function 'header_check_fds': BUILDSTDERR: file_fds.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fds.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fh10.c: In function 'header_check_fh10': BUILDSTDERR: file_fh10.c:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fh10.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fh10.c:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fh10.c:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fh5.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fh5.c:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 39 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fh5.c: In function 'header_check_fh5': BUILDSTDERR: file_fh5.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fh5.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fh5.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_filevault.c: In function 'header_check_filevault': BUILDSTDERR: file_filevault.c:45:56: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_filevault.c:45:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_filevault.c:45:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_filevault.c:45:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmfile_fcs.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 63 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fcs.c: In function 'header_check_fcs': BUILDSTDERR: file_fcs.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 95 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fcs.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 95 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fit.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fit.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fit.c: In function 'header_check_fit': BUILDSTDERR: file_fit.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fit.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fit.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_flac.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flac.c: In function 'header_check_flac': BUILDSTDERR: file_flac.c:83:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 83 | const uint32_t *p32=(const uint32_t *)&buffer[4]; BUILDSTDERR: | ^ BUILDSTDERR: file_flac.c:81:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 81 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_flac.c:81:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 81 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_flac.c:81:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 81 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_flp.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flp.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flp.c: In function 'header_check_flp': BUILDSTDERR: file_flp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_flp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_flp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ issing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werrofile_fits.c: In function 'header_check_fits': BUILDSTDERR: file_fits.c:143:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 143 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fits.c:143:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 143 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fm.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fm.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 49 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fm.c: In function 'header_check_fm': BUILDSTDERR: file_fm.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fm.c:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fm.c:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fob.c: In function 'header_check_fob': BUILDSTDERR: file_fob.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fob.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_flv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flv.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 52 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flv.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_flv.c: In function 'header_check_flv': BUILDSTDERR: file_flv.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_flv.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_flv.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ r=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissingfile_fos.c: In function 'header_check_fos': BUILDSTDERR: file_fos.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fos.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fos.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fos.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fp5.c: In function 'header_check_fp5': BUILDSTDERR: file_fp5.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fp5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fp5.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fp5.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_freeway.c: In function 'header_check_freeway': BUILDSTDERR: file_freeway.c:44:54: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_freeway.c:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_freeway.c:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_freeway.c:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_fp7.c: In function 'header_check_fp7': BUILDSTDERR: file_fp7.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fp7.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_frm.c: In function 'header_check_frm': BUILDSTDERR: file_frm.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_frm.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_frm.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla file_fwd.c: In function 'header_check_fwd': BUILDSTDERR: file_fwd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_fwd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fwd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fwd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_fs.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fs.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_fs.c: In function 'header_check_fs': BUILDSTDERR: file_fs.c:82:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 82 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_fs.c:82:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 82 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_fs.c:82:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 82 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gam.c: In function 'header_check_gam': BUILDSTDERR: file_gam.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gam.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gam.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gam.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gct.c: In function 'header_check_gct': BUILDSTDERR: file_gct.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gct.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gct.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gct.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gho.c: In function 'header_check_db': BUILDSTDERR: file_gho.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gho.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gho.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -fstack-protector-strong -c -o file_frm.o file_frm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-stIn file included from file_gi.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gi.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 49 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gi.c: In function 'header_check_gi': BUILDSTDERR: file_gi.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gi.c:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gi.c:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c: In function 'header_check_gm81': BUILDSTDERR: file_gm6.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gm6.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gm6.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c: In function 'header_check_gmk': BUILDSTDERR: file_gm6.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gm6.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gm6.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c: In function 'header_check_gm6': BUILDSTDERR: file_gm6.c:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gm6.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gm6.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c: In function 'header_check_gmd': BUILDSTDERR: file_gm6.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gm6.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gm6.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gm6.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gif.c: In function 'header_check_gif': BUILDSTDERR: file_gif.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gif.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gp2.c: In function 'header_check_gp2': BUILDSTDERR: file_gp2.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_gp2.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gp2.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gp2.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggrefile_gp5.c: In function 'header_check_gp5': BUILDSTDERR: file_gp5.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gp5.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gp5.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gpx.c: In function 'header_check_gpx': BUILDSTDERR: file_gpx.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gpx.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gpx.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_gsm.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gsm.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 51 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gsm.c: In function 'header_check_gsm': BUILDSTDERR: file_gsm.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 67 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gsm.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 67 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_hdr.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hdr.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hdr.c: In function 'header_check_hdr': BUILDSTDERR: file_hdr.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hdr.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hdr.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 58 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c BUILDSTDERR: make[2]: Leaving directory '/builddir/build/BUILD/testdisIn file included from file_hdf.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hdf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hdf.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 63 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hdf.c: In function 'header_check_hdf': BUILDSTDERR: file_hdf.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hdf.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hdf.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_gz.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gz.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 59 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gz.c: In function 'file_check_bgzf': BUILDSTDERR: file_gz.c:77:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 77 | static void file_check_bgzf(file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_gz.c: In function 'header_check_bgzf': BUILDSTDERR: file_gz.c:81:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 81 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_gz.c: In function 'header_check_gz': BUILDSTDERR: file_gz.c:186:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: 186 | d_stream.next_in = (Bytef*)buffer_compr; BUILDSTDERR: | ^ BUILDSTDERR: file_gz.c:111:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 111 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_gpg.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_gpg.c: In function 'file_check_gpg': BUILDSTDERR: file_gpg.c:293:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 293 | const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; BUILDSTDERR: | ^ BUILDSTDERR: file_gpg.c:318:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 318 | mpi=(const uint16_t *)&tmp[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_gpg.c: In function 'header_check_gpg': BUILDSTDERR: file_gpg.c:460:22: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 460 | const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; BUILDSTDERR: | ^ BUILDSTDERR: file_gpg.c:482:10: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 482 | mpi=(const uint16_t *)&buffer[i+1+8+1+2+len]; BUILDSTDERR: | ^ BUILDSTDERR: file_gpg.c:411:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 411 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_gpg.c:411:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 411 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_hds.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hds.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 54 | } __attribute__((gcc_struct,__packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hds.c: In function 'header_check_hds': BUILDSTDERR: file_hds.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hds.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hds.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ k-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annIn file included from file_hfsp.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_hfsp.c: In function 'header_check_hfsp': BUILDSTDERR: file_hfsp.c:48:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 48 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_hfsp.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hfsp.c:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hfsp.c:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_hm.c: In function 'header_check_hm': BUILDSTDERR: file_hm.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_hm.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hm.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hm.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_hr9.c: In function 'header_check_hr9': BUILDSTDERR: file_hr9.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_hr9.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_hr9.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_hr9.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_http.c: In function 'header_check_http': BUILDSTDERR: file_http.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_http.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_http.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_http.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ obin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -WinlIn file included from file_ibd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ibd.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ibd.c: In function 'header_check_ibd': BUILDSTDERR: file_ibd.c:71:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 71 | const uint32_t *flags_ptr=(const uint32_t *)&buffer[FSP_HEADER_OFFSET + FSP_SPACE_FLAGS]; BUILDSTDERR: | ^ BUILDSTDERR: file_ibd.c:52:10: warning: left shift of negative value [-Wshift-negative-value] BUILDSTDERR: 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) BUILDSTDERR: | ^~ BUILDSTDERR: file_ibd.c:81:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' BUILDSTDERR: 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_ibd.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ibd.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 68 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_icc.c: In function 'header_check_icc': BUILDSTDERR: file_icc.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_icc.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_icc.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ico.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ico.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 80 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ico.c:92:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 92 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ico.c: In function 'header_check_ico': BUILDSTDERR: file_ico.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ico.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ico.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 94 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ifo.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ifo.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ifo.c: In function 'header_check_ifo': BUILDSTDERR: file_ifo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ifo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ifo.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_icns.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_icns.c: In function 'header_check_icns': BUILDSTDERR: file_icns.c:101:33: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 101 | const struct icns_header *hdr=(const struct icns_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_icns.c:102:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 102 | const struct icon_data *icon=(const struct icon_data *)&buffer[8]; BUILDSTDERR: | ^ BUILDSTDERR: file_icns.c:99:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_icns.c:99:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_icns.c:99:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_idx.c: In function 'header_check_idx': BUILDSTDERR: file_idx.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_idx.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 57 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ine -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -file_imb.c: In function 'header_check_imb': BUILDSTDERR: file_imb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_imb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_imb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_imb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_info.c: In function 'header_check_info': BUILDSTDERR: file_info.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_info.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_info.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_info.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_indd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_indd.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_indd.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 74 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_indd.c: In function 'header_check_indd': BUILDSTDERR: file_indd.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 114 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_indd.c:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 114 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall In file included from file_iso.c:32: BUILDSTDERR: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_iso.c: In function 'header_check_db': BUILDSTDERR: file_iso.c:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_iso.c:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_it.c:69:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 69 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_it.c: In function 'header_check_it': BUILDSTDERR: file_it.c:71:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_it.c:71:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_it.c:71:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_itu.c: In function 'header_check_itunes': BUILDSTDERR: file_itu.c:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_itu.c:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_itu.c:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_jks.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jks.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 51 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jks.c: In function 'header_check_jks': BUILDSTDERR: file_jks.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_jks.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_jks.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=In file included from file_jsonlz4.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jsonlz4.c: In function 'header_check_jsonlz4': BUILDSTDERR: file_jsonlz4.c:47:37: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 47 | const uint32_t *uncompressed_size=(const uint32_t *)&buffer[8]; BUILDSTDERR: | ^ BUILDSTDERR: file_jsonlz4.c:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_jsonlz4.c:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_jsonlz4.c:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_kdb.c: In function 'header_check_kdb': BUILDSTDERR: file_kdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_kdb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_kdb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_kdb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_kdbx.c: In function 'header_check_kdbx': BUILDSTDERR: file_kdbx.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_kdbx.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_kdbx.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_kdbx.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_key.c: In function 'header_check_key': BUILDSTDERR: file_key.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_key.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_key.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_key.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_lit.c: In function 'header_check_lit': BUILDSTDERR: file_lit.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_lit.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_lit.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lit.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ldf.c: In function 'header_check_ldf': BUILDSTDERR: file_ldf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ldf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ldf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERfile_logic.c: In function 'header_check_logic': BUILDSTDERR: file_logic.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_logic.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_logic.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_logic.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_lnk.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lnk.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lnk.c: In function 'header_check_lnk': BUILDSTDERR: file_lnk.c:222:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 222 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lnk.c:222:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 222 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_lso.c: In function 'header_check_lso': BUILDSTDERR: file_lso.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_lso.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_lso.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lso.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ TIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -WsIn file included from file_lxo.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lxo.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lxo.c: In function 'header_check_lxo': BUILDSTDERR: file_lxo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_lxo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lxo.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_luks.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_luks.c: In function 'header_check_luks': BUILDSTDERR: file_luks.c:53:31: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 53 | const struct luks_phdr *hdr=(const struct luks_phdr *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_luks.c:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_luks.c:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_luks.c:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_lzh.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 58 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lzh.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 72 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lzh.c:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_lzh.c: In function 'header_check_lzh': BUILDSTDERR: file_lzh.c:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 107 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_lzh.c:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 107 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lzh.c:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 107 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_lzo.c: In function 'header_check_lzo': BUILDSTDERR: file_lzo.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_lzo.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_lzo.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_lzo.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mat.c: In function 'header_check_mat': BUILDSTDERR: file_mat.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mat.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mat.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ hadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c BUILDSTDERR: make[2]: LIn file included from file_max.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_max.c: In function 'header_check_max': BUILDSTDERR: file_max.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_max.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_max.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_max.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_m2ts.c: In function 'header_check_m2ts': BUILDSTDERR: file_m2ts.c:112:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 112 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_m2ts.c: In function 'header_check_m2t': BUILDSTDERR: file_m2ts.c:169:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 169 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mcd.c: In function 'header_check_mcd': BUILDSTDERR: file_mcd.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mcd.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mcd.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mb.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mb.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mb.c: In function 'header_check_mb': BUILDSTDERR: file_mb.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mb.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mb.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mb.c: In function 'header_check_mp': BUILDSTDERR: file_mb.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mb.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mb.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mdb.c: In function 'header_check_accdb': BUILDSTDERR: file_mdb.c:54:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mdb.c:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mdb.c:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mdb.c:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mdb.c: In function 'header_check_mdb': BUILDSTDERR: file_mdb.c:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mdb.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mdb.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mdb.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ eaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hfile_mfa.c: In function 'header_check_mfa': BUILDSTDERR: file_mfa.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mfa.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mfa.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mfa.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mdf.c: In function 'header_check_mdf': BUILDSTDERR: file_mdf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mdf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mdf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mfg.c: In function 'header_check_mfg': BUILDSTDERR: file_mfg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mfg.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mfg.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mfg.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mft.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_mft.c:33: BUILDSTDERR: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 191 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 196 | } __attribute__((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; BUILDSTDERR: | ^ BUILDSTDERR: ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; BUILDSTDERR: | ^ BUILDSTDERR: file_mft.c: In function 'header_check_mft': BUILDSTDERR: file_mft.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mft.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mft.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 64 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -WredundIn file included from file_mid.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mid.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mid.c: In function 'header_check_mid': BUILDSTDERR: file_mid.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mid.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mid.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 104 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mig.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mig.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mig.c: In function 'header_check_mig': BUILDSTDERR: file_mig.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mig.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mig.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mk5.c: In function 'header_check_mk5': BUILDSTDERR: file_mk5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mk5.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mk5.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mobi.c: In function 'header_check_mobi': BUILDSTDERR: file_mobi.c:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mobi.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mobi.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mobi.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]: Entering directory '/builddir/build/BUIn file included from file_mkv.c:36: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mkv.c: In function 'header_check_mkv': BUILDSTDERR: file_mkv.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 119 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mkv.c:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 119 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mlv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mlv.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 61 | } __attribute__ ((gcc_struct, __packed__)) mlv_file_hdr_t; BUILDSTDERR: | ^ BUILDSTDERR: file_mlv.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)) mlv_hdr_t; BUILDSTDERR: | ^ BUILDSTDERR: file_mlv.c: In function 'header_check_mlv': BUILDSTDERR: file_mlv.c:132:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 132 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mlv.c:132:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 132 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mlv.c:132:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 132 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_jpg.c:47: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_jpg.c:50: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:112:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 112 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:121:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 121 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c: In function 'check_mpo_be': BUILDSTDERR: file_jpg.c:126:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 126 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:139:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 139 | tmp16=(const uint16_t*)(&mpo[offset]); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:159:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 159 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:168:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 168 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c: In function 'check_mpo_le': BUILDSTDERR: file_jpg.c:201:25: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 201 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:214:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 214 | tmp16=(const uint16_t*)(&mpo[offset]); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:234:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 234 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:243:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 243 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c: In function 'header_check_jpg': BUILDSTDERR: file_jpg.c:496:39: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 496 | jpg_time=get_date_from_tiff_header((const TIFFHeader*)&buffer[i+0x0A], tiff_size); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c:375:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 375 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_jpg.c: In function 'my_output_message': BUILDSTDERR: file_jpg.c:547:45: warning: unused parameter 'cinfo' [-Wunused-parameter] BUILDSTDERR: 547 | static void my_output_message (j_common_ptr cinfo) BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: file_jpg.c: In function 'jpg_term_source': BUILDSTDERR: file_jpg.c:738:47: warning: unused parameter 'cinfo' [-Wunused-parameter] BUILDSTDERR: 738 | static void jpg_term_source (j_decompress_ptr cinfo) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: file_jpg.c: In function 'jpg_find_error': BUILDSTDERR: file_jpg.c:1058:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] BUILDSTDERR: 1058 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: file_jpg.c: At top level: BUILDSTDERR: file_jpg.c:1373:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 1373 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_jpg.c: In function 'jpg_check_structure': BUILDSTDERR: file_jpg.c:1496:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 1496 | const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A]; BUILDSTDERR: | ^ BUILDSTDERR: file_mpl.c: In function 'header_check_mpl': BUILDSTDERR: file_mpl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mpl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mpl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mpl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mrw.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mrw.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mrw.c:68:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 68 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mrw.c: In function 'header_check_mrw': BUILDSTDERR: file_mrw.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mrw.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mrw.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protfile_mpg.c: In function 'header_check_mpg_Pack': BUILDSTDERR: file_mpg.c:164:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 164 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mpg.c: In function 'header_check_mpg_System': BUILDSTDERR: file_mpg.c:227:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 227 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mpg.c: In function 'header_check_mpg_Sequence': BUILDSTDERR: file_mpg.c:268:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 268 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mpg.c: In function 'header_check_mpg4_ElemVideo': BUILDSTDERR: file_mpg.c:302:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 302 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_msa.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_msa.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 49 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_msa.c: In function 'header_check_msa': BUILDSTDERR: file_msa.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_msa.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_msa.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mp3.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mp3.c: In function 'header_check_id3': BUILDSTDERR: file_mp3.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 115 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mp3.c:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 115 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mp3.c:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 115 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mp3.c: In function 'header_check_mp3': BUILDSTDERR: file_mp3.c:145:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 145 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-formatIn file included from file_mov.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mov.c:89:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 89 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mov.c:96:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 96 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mov.c: In function 'header_check_mov_aux': BUILDSTDERR: file_mov.c:127:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 127 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mus.c: In function 'header_check_mus': BUILDSTDERR: file_mus.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_mus.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mus.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mus.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_mysql.c: In function 'header_check_mysql': BUILDSTDERR: file_mysql.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mysql.c:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mysql.c:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_myo.c: In function 'header_check_myo': BUILDSTDERR: file_myo.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_myo.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nd2.c: In function 'header_check_nd2': BUILDSTDERR: file_nd2.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_nd2.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nd2.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_mxf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mxf.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 66 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_mxf.c: In function 'data_check_mxf': BUILDSTDERR: file_mxf.c:94:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 94 | const uint32_t *p32=(const uint32_t*)&buffer[i+0x11]; BUILDSTDERR: | ^ BUILDSTDERR: file_mxf.c: In function 'header_check_mxf': BUILDSTDERR: file_mxf.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_mxf.c:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_mxf.c:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-file_nds.c: In function 'header_check_nds': BUILDSTDERR: file_nds.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_nds.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nds.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 59 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_njx.c: In function 'header_check_njx': BUILDSTDERR: file_njx.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_njx.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_njx.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_nes.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_nes.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_nes.c: In function 'header_check_nes': BUILDSTDERR: file_nes.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_nes.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nes.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_nsf.c: In function 'header_check_nsf': BUILDSTDERR: file_nsf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_nsf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nsf.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -WmissingIn file included from file_nk2.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_nk2.c: In function 'header_check_nk2': BUILDSTDERR: file_nk2.c:180:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 180 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_nk2.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 180 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_nk2.c:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 180 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_nk2.c:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 180 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ogg.c: In function 'header_check_ogg': BUILDSTDERR: file_ogg.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ogg.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 49 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_oci.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_oci.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 49 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_oci.c: In function 'header_check_oci': BUILDSTDERR: file_oci.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_oci.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -ofile_one.c: In function 'header_check_one': BUILDSTDERR: file_one.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_one.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_one.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_orf.c:32: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_orf.c: In function 'header_check_orf_IIRS': BUILDSTDERR: file_orf.c:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_orf.c:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_orf.c:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_orf.c:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_orf.c: In function 'header_check_orf_IIRO': BUILDSTDERR: file_orf.c:56:53: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 56 | file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); BUILDSTDERR: | ^ BUILDSTDERR: file_orf.c:52:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_orf.c:52:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_paf.c: In function 'header_check_paf': BUILDSTDERR: file_paf.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_paf.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_paf.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_paf.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pap.c: In function 'header_check_pap': BUILDSTDERR: file_pap.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pap.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pap.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pap.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pcap.c: In function 'header_check_pcap': BUILDSTDERR: file_pcap.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pcap.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pcap.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pcap.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_one.o file_one.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches file_pcb.c: In function 'header_check_pcb': BUILDSTDERR: file_pcb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pcb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pcb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pcb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_par2.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_par2.c:32: BUILDSTDERR: file_par2.c: In function 'data_check_par2': BUILDSTDERR: file_par2.c:56:34: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 56 | const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8]))); BUILDSTDERR: | ^ BUILDSTDERR: common.h:466:19: note: in definition of macro 'le64' BUILDSTDERR: 466 | #define le64(x) (x) BUILDSTDERR: | ^ BUILDSTDERR: file_par2.c: In function 'file_rename_par2': BUILDSTDERR: file_par2.c:77:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 77 | const uint64_t *lengthp=(const uint64_t *)&buffer[8]; BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_par2.c:32: BUILDSTDERR: file_par2.c: In function 'header_check_par2': BUILDSTDERR: file_par2.c:110:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 110 | const uint64_t length=le64((*(const uint64_t *)(&buffer[8]))); BUILDSTDERR: | ^ BUILDSTDERR: common.h:466:19: note: in definition of macro 'le64' BUILDSTDERR: 466 | #define le64(x) (x) BUILDSTDERR: | ^ BUILDSTDERR: file_par2.c:108:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 108 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_par2.c:108:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 108 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_pct.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pct.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 80 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pct.c: In function 'header_check_pct': BUILDSTDERR: file_pct.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 82 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pct.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 82 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_pcx.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pcx.c:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 78 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pcx.c: In function 'header_check_pcx': BUILDSTDERR: file_pcx.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pcx.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pcx.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 85 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-functfile_pdb.c: In function 'header_check_pdb': BUILDSTDERR: file_pdb.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pdb.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pdb.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 71 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pds.c: In function 'header_check_pds': BUILDSTDERR: file_pds.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pds.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pds.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pds.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_pf.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pf.c: In function 'header_check_pf': BUILDSTDERR: file_pf.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 72 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pf.c:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 72 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pf.c:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 72 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pfx.c: In function 'header_check_pfx': BUILDSTDERR: file_pfx.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pfx.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pfx.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_pgdump.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pgdump.c:83:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 83 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pgdump.c: In function 'header_check_pgdump': BUILDSTDERR: file_pgdump.c:96:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 96 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pgdump.c:96:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 96 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pgdump.c:96:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 96 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_plist.c: In function 'header_check_plist': BUILDSTDERR: file_plist.c:47:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_plist.c:47:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_plist.c:47:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ion-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]:file_plr.c: In function 'header_check_plr': BUILDSTDERR: file_plr.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_plr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_plr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_plr.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_plt.c: In function 'header_check_plt': BUILDSTDERR: file_plt.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_plt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_plt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_plt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_pdf.c:40: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pdf.c: In function 'header_check_pdf': BUILDSTDERR: file_pdf.c:272:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 272 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pdf.c:272:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 272 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_prc.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_prc.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 59 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_prc.c: In function 'header_check_prc': BUILDSTDERR: file_prc.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_prc.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_prc.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 61 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasfile_pnm.c: In function 'header_check_pbm': BUILDSTDERR: file_pnm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pnm.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pnm.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pnm.c: In function 'header_check_pgm': BUILDSTDERR: file_pnm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pnm.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pnm.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pnm.c: In function 'header_check_ppm': BUILDSTDERR: file_pnm.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pnm.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pnm.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 63 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_prd.c: In function 'header_check_prd': BUILDSTDERR: file_prd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_prd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_prd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_prt.c: In function 'header_check_prt': BUILDSTDERR: file_prt.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_prt.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_prt.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_prt.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ps.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ps.c: In function 'header_check_ps': BUILDSTDERR: file_ps.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ps.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ps.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-In file included from file_png.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_png.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_png.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 73 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_png.c: In function 'header_check_jng': BUILDSTDERR: file_png.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 75 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_png.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 75 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_png.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 75 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_png.c: In function 'header_check_mng': BUILDSTDERR: file_png.c:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 93 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_png.c:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 93 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_png.c:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 93 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_png.c: In function 'header_check_png': BUILDSTDERR: file_png.c:172:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 172 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_png.c:172:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 172 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_psf.c: In function 'header_check_psf': BUILDSTDERR: file_psf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_psf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_psb.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psb.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 63 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psb.c: In function 'header_check_psb': BUILDSTDERR: file_psb.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_psb.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_psb.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_psb.c: In function 'get_be64': BUILDSTDERR: file_psb.c:94:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 94 | const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); BUILDSTDERR: | ^ BUILDSTDERR: file_psb.c: In function 'psb_skip_image_data': BUILDSTDERR: file_psb.c:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_psb.c:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: In file included from file_psp.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psp.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psp.c: In function 'header_check_psp': BUILDSTDERR: file_psp.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_psp.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_psp.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_psd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psd.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 63 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_psd.c: In function 'header_check_psd': BUILDSTDERR: file_psd.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_psd.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_psd.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 65 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_psd.c: In function 'get_be32': BUILDSTDERR: file_psd.c:94:23: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 94 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); BUILDSTDERR: | ^ BUILDSTDERR: file_psd.c: In function 'psd_skip_image_data': BUILDSTDERR: file_psd.c:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_psd.c:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipfile_pst.c: In function 'header_check_dbx': BUILDSTDERR: file_pst.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pst.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pst.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 51 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pst.c: In function 'header_check_wab': BUILDSTDERR: file_pst.c:92:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pst.c:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pst.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pst.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 92 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pst.c: In function 'header_check_pst': BUILDSTDERR: file_pst.c:99:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pst.c:99:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pst.c:99:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 99 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ptb.c: In function 'header_check_ptb': BUILDSTDERR: file_ptb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ptb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ptb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_ptf.c: In function 'header_check_ptf': BUILDSTDERR: file_ptf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ptf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ptf.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ e -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-aIn file included from file_pyc.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_pyc.c: In function 'header_check_pyc': BUILDSTDERR: file_pyc.c:56:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 56 | const struct pyc_header *pyc=(const struct pyc_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_pyc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pyc.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pyc.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pzf.c: In function 'header_check_pzf': BUILDSTDERR: file_pzf.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pzf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pzf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pzf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_pzh.c: In function 'header_check_pzh': BUILDSTDERR: file_pzh.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_pzh.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_pzh.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_pzh.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_qdf.c: In function 'header_check_qdf': BUILDSTDERR: file_qdf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_qdf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qdf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code file_qkt.c: In function 'header_check_qkt': BUILDSTDERR: file_qkt.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_qkt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qkt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qkt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_qbb.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_qbb.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_qbb.c:68:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 68 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_qbb.c: In function 'header_check_qbb': BUILDSTDERR: file_qbb.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qbb.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_qbb.c: In function 'header_check_qbw': BUILDSTDERR: file_qbb.c:136:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 136 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qbb.c:136:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 136 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qbb.c:136:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 136 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_qbb.c: In function 'header_check_qbw2': BUILDSTDERR: file_qbb.c:151:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 151 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qbb.c:151:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 151 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qbb.c:151:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 151 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_qxd.c: In function 'header_check_qxd': BUILDSTDERR: file_qxd.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_qxd.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qxd.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qxd.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_qxd.c: In function 'header_check_qxp': BUILDSTDERR: file_qxd.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_qxd.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_qxd.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_qxd.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_r3d.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_r3d.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_r3d.c: In function 'header_check_r3d': BUILDSTDERR: file_r3d.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_r3d.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_r3d.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 97 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_r3d.c: In function 'header_check_r3d_v2': BUILDSTDERR: file_r3d.c:116:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_r3d.c:116:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_r3d.c:116:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 116 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_rar.c: In function 'header_check_rar15fmt': BUILDSTDERR: file_rar.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rar.c:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rar.c:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_rar.c: In function 'header_check_rar50fmt': BUILDSTDERR: file_rar.c:69:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rar.c:69:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rar.c:69:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protIn file included from file_ra.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ra.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ra.c:81:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 81 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ra.c: In function 'header_check_ra': BUILDSTDERR: file_ra.c:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ra.c:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ra.c:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_raf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_raf.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 60 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_raf.c: In function 'header_check_raf': BUILDSTDERR: file_raf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 62 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_raf.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 62 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_raf.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 62 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_raw.c: In function 'header_check_raw': BUILDSTDERR: file_raw.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_raw.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_raw.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_raw.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_rdc.c: In function 'header_check_rdc': BUILDSTDERR: file_rdc.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_rdc.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rdc.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rdc.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-alignIn file included from file_reg.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_reg.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_reg.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 70 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_reg.c: In function 'header_check_reg_9x': BUILDSTDERR: file_reg.c:72:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 72 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_reg.c:72:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 72 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_reg.c: At top level: BUILDSTDERR: file_reg.c:104:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 104 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_reg.c: In function 'header_check_reg_nt': BUILDSTDERR: file_reg.c:106:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_reg.c:106:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_reg.c:106:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 106 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_res.c: In function 'header_check_res': BUILDSTDERR: file_res.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_res.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_res.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_res.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_rfp.c: In function 'header_check_rfp': BUILDSTDERR: file_rfp.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_rfp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rfp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rfp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_rlv.c: In function 'header_check_rlv': BUILDSTDERR: file_rlv.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rlv.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rlv.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_rm.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rm.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rm.c: In function 'header_check_rm': BUILDSTDERR: file_rm.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rm.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rm.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c BUILDSTDERR: make[2]: Leaving directory '/builddir/build/BUILD/tfile_rns.c: In function 'header_check_rns': BUILDSTDERR: file_rns.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_rns.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rns.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rns.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_rw2.c:32: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_rw2.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rw2.c: In function 'header_check_rw2': BUILDSTDERR: file_rw2.c:49:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 49 | const TIFFHeader *header=(const TIFFHeader *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_rw2.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rw2.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_rpm.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rpm.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rpm.c: In function 'header_check_rpm': BUILDSTDERR: file_rpm.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rpm.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rpm.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 73 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_riff.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_riff.c: In function 'data_check_avi': BUILDSTDERR: file_riff.c:179:43: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 179 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; BUILDSTDERR: | ^ BUILDSTDERR: file_riff.c: In function 'data_check_avi_stream': BUILDSTDERR: file_riff.c:194:43: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 194 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; BUILDSTDERR: | ^ BUILDSTDERR: file_riff.c: In function 'header_check_riff': BUILDSTDERR: file_riff.c:216:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 216 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_riff.c:216:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 216 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_riff.c: In function 'header_check_rifx': BUILDSTDERR: file_riff.c:317:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 317 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_riff.c:317:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 317 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_riff.c:317:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 317 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ estdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/In file included from file_rx2.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rx2.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 51 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_rx2.c: In function 'header_check_rx2': BUILDSTDERR: file_rx2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_rx2.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_rx2.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_save.c: In function 'header_check_save': BUILDSTDERR: file_save.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_save.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_save.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_save.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ses.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ses.c: In function 'header_check_ses': BUILDSTDERR: file_ses.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_ses.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_ses.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ses.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_sgcta.c: In function 'header_check_sgcta': BUILDSTDERR: file_sgcta.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_sgcta.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sgcta.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sgcta.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnestedfile_shn.c: In function 'header_check_shn': BUILDSTDERR: file_shn.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_shn.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_shn.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_shn.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_sib.c: In function 'header_check_sib': BUILDSTDERR: file_sib.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_sib.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sib.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sib.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_sit.c: In function 'header_check_sit': BUILDSTDERR: file_sit.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_sit.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sit.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sit.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_skd.c: In function 'header_check_skd': BUILDSTDERR: file_skd.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_skd.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_skd.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_skd.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 43 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_skp.c: In function 'header_check_skp': BUILDSTDERR: file_skp.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_skp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_skp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_skp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_COfile_snag.c: In function 'header_check_snag': BUILDSTDERR: file_snag.c:50:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_snag.c:50:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_snag.c:50:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_snag.c:50:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 50 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_spe.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_spe.c:238:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 238 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_spe.c: In function 'header_check_spe': BUILDSTDERR: file_spe.c:247:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 247 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_spe.c:247:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 247 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_spe.c:247:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 247 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_spf.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_spf.c: In function 'header_check_spf': BUILDSTDERR: file_spf.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_spf.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_spf.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_spf.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 86 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_sig.c:41: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_sig.c: In function 'header_check_sig': BUILDSTDERR: file_sig.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sig.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sig.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 83 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ NFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statemfile_spss.c: In function 'header_check_spss': BUILDSTDERR: file_spss.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_spss.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_spss.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_spss.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_sql.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_sql.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 72 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_sql.c: In function 'header_check_sqlite': BUILDSTDERR: file_sql.c:74:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sql.c:74:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sql.c:74:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 74 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_sqm.c: In function 'header_check_sqm': BUILDSTDERR: file_sqm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_sqm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sqm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sqm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_steuer2014.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_steuer2014.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 52 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_steuer2014.c: In function 'header_check_steuer': BUILDSTDERR: file_steuer2014.c:54:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_steuer2014.c:54:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_steuer2014.c:54:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ent -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -WmultIn file included from file_sp3.c:35: BUILDSTDERR: file_sp3.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 306 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_sp3.c:36: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_sp3.c: In function 'header_check_sp3': BUILDSTDERR: file_sp3.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_sp3.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_sp3.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_stu.c: In function 'header_check_stuffit': BUILDSTDERR: file_stu.c:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_stu.c:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_stu.c:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_stu.c:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_stl.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_stl.c: In function 'header_check_stl': BUILDSTDERR: file_stl.c:48:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 48 | const uint64_t *fs_ptr=(const uint64_t *)&buffer[80]; BUILDSTDERR: | ^ BUILDSTDERR: file_stl.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_stl.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_stl.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_studio.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_studio.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 50 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_studio.c: In function 'header_check_studio': BUILDSTDERR: file_studio.c:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_studio.c:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_studio.c:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_tar.c: In function 'header_check_tar': BUILDSTDERR: file_tar.c:67:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 67 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tar.c:67:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 67 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCfile_tax.c: In function 'header_check_tax': BUILDSTDERR: file_tax.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tax.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tax.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tax.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 45 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_tg.c: In function 'header_check_tg': BUILDSTDERR: file_tg.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tg.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tg.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tg.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_swf.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_swf.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 53 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_swf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 62 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_swf.c: In function 'header_check_swfc': BUILDSTDERR: file_swf.c:114:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] BUILDSTDERR: 114 | d_stream.next_in = (Bytef*)buffer_compr; BUILDSTDERR: | ^ BUILDSTDERR: file_swf.c:89:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 89 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_swf.c:89:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 89 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_swf.c: In function 'header_check_swf': BUILDSTDERR: file_swf.c:159:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 159 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_swf.c:159:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 159 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_swf.c:159:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 159 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_swf.c: In function 'header_check_swfz': BUILDSTDERR: file_swf.c:192:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 192 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_swf.c:192:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 192 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_swf.c:192:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 192 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_tiff.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_tiff.c:39: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ E=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -WsIn file included from file_tib.c:35: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_tib.c: In function 'header_check_tib': BUILDSTDERR: file_tib.c:103:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 103 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tib.c:103:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 103 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tib.c:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 103 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tib.c:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 103 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_tib.c: In function 'header_check_tib2': BUILDSTDERR: file_tib.c:110:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 110 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tib.c:110:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 110 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tib.c:110:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 110 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tib.c:110:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 110 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_tivo.c: In function 'header_check_tivo': BUILDSTDERR: file_tivo.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tivo.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tivo.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_torrent.c: In function 'header_check_torrent': BUILDSTDERR: file_torrent.c:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_torrent.c:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_torrent.c:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_tpl.c: In function 'header_check_tpl': BUILDSTDERR: file_tpl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tpl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tpl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tpl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ trict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tib.o file_tib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o filefile_tph.c: In function 'header_check_tph': BUILDSTDERR: file_tph.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tph.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tph.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_tiff_le.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_tiff_le.c:39: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_le.c: In function 'find_tag_from_tiff_header_le_aux': BUILDSTDERR: file_tiff_le.c:55:16: warning: taking address of packed member of 'struct ifd_header' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 55 | for(i=0, tmp=&hdr->ifd; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_tiff_le.c: In function 'header_check_tiff_le': BUILDSTDERR: file_tiff_le.c:282:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 282 | const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_le.c:359:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 359 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c:375:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 375 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c:419:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 419 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c:462:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 462 | if(tmp==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c:470:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 470 | if(tmp==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c:479:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 479 | if(new_offset != -1 && max_offset < new_offset) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_le.c: In function 'header_check_tiff_le_new': BUILDSTDERR: file_tiff_le.c:489:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 489 | const TIFFHeader *header=(const TIFFHeader *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_le.c:485:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 485 | int header_check_tiff_le_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_tiff_be.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_tiff_be.c:39: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_be.c: In function 'find_tag_from_tiff_header_be_aux': BUILDSTDERR: file_tiff_be.c:54:16: warning: taking address of packed member of 'struct ifd_header' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 54 | for(i=0, tmp=&hdr->ifd; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: file_tiff_be.c: In function 'header_check_tiff_be': BUILDSTDERR: file_tiff_be.c:281:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 281 | const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_be.c:358:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 358 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c:367:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 367 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c:411:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 411 | if(new_offset==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c:454:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 454 | if(tmp==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c:462:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 462 | if(tmp==-1) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c:471:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 471 | if(new_offset != -1 && max_offset < new_offset) BUILDSTDERR: | ^~ BUILDSTDERR: file_tiff_be.c: In function 'header_check_tiff_be_new': BUILDSTDERR: file_tiff_be.c:480:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 480 | const TIFFHeader *header=(const TIFFHeader *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_tiff_be.c:477:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 477 | int header_check_tiff_be_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_ttf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_ttf.c: In function 'header_check_ttf': BUILDSTDERR: file_ttf.c:76:38: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 76 | const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_ttf.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_ttf.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_tz.c:34: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_tz.c: In function 'header_check_tz': BUILDSTDERR: file_tz.c:48:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_tz.c:48:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_tz.c:48:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_tz.c:48:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_v2i.c: In function 'header_check_v2i': BUILDSTDERR: file_v2i.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_v2i.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_v2i.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ _tph.o file_tph.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-swfile_vault.c: In function 'header_check_vault': BUILDSTDERR: file_vault.c:67:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_vault.c:67:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vault.c:67:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vault.c:67:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_vdi.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_vdi.c: In function 'header_check_vdi': BUILDSTDERR: file_vdi.c:83:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 83 | const VdiHeader *header=(const VdiHeader *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_vdi.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vdi.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vdi.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_vdj.c: In function 'header_check_vdj': BUILDSTDERR: file_vdj.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_vdj.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vdj.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vdj.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_veg.c: In function 'header_check_veg': BUILDSTDERR: file_veg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_veg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_veg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ itches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wfile_vfb.c: In function 'header_check_vfb': BUILDSTDERR: file_vfb.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_vfb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vfb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vfb.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_vib.c: In function 'header_check_vib': BUILDSTDERR: file_vib.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_vib.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vib.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vib.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_vmdk.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_vmdk.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 74 | } __attribute__((gcc_struct,__packed__)) VMDK4Header; BUILDSTDERR: | ^ BUILDSTDERR: file_vmdk.c: In function 'header_check_vmdk3': BUILDSTDERR: file_vmdk.c:78:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 78 | const VMDK3Header *hdr=(const VMDK3Header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_vmdk.c:76:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vmdk.c:76:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vmdk.c:76:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_vmdk.c: In function 'header_check_vmdk4': BUILDSTDERR: file_vmdk.c:92:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vmdk.c:92:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vmdk.c:92:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_vmg.c: In function 'header_check_vmg': BUILDSTDERR: file_vmg.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_vmg.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_vmg.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_vmg.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ bad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: mfile_wallet.c: In function 'header_check_wallet': BUILDSTDERR: file_wallet.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_wallet.c:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wallet.c:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wallet.c:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_wdp.c:32: BUILDSTDERR: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 67 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_wdp.c:33: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wdp.c: In function 'header_check_wdp': BUILDSTDERR: file_wdp.c:49:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 49 | const TIFFHeader *header=(const TIFFHeader *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_wdp.c:54:53: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 54 | file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); BUILDSTDERR: | ^ BUILDSTDERR: file_wdp.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wdp.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wee.c: In function 'header_check_wee': BUILDSTDERR: file_wee.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wee.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wee.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_wim.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wim.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wim.c:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wim.c: In function 'header_check_wim': BUILDSTDERR: file_wim.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wim.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wim.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wks.c: In function 'header_check_wk4': BUILDSTDERR: file_wks.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_wks.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wks.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wks.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wks.c: In function 'header_check_wks': BUILDSTDERR: file_wks.c:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_wks.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wks.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wks.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ake[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobinIn file included from file_win.c:36: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_win.c: In function 'header_check_win': BUILDSTDERR: file_win.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_win.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_win.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_win.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_wld.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wld.c: In function 'header_check_wld': BUILDSTDERR: file_wld.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wld.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wld.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wnk.c: In function 'header_check_wnk': BUILDSTDERR: file_wnk.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_wnk.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wnk.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wnk.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -WIn file included from file_wmf.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wmf.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 56 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wmf.c: In function 'header_check_wmf': BUILDSTDERR: file_wmf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wmf.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wmf.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wmf.c: In function 'header_check_other_wmf': BUILDSTDERR: file_wmf.c:73:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wmf.c:73:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wmf.c:73:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wpb.c: In function 'header_check_wpb': BUILDSTDERR: file_wpb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_wpb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wpb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wpb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_wpd.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wpd.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 58 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wpd.c: In function 'header_check_wpd': BUILDSTDERR: file_wpd.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wpd.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wpd.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_woff.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_woff.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 60 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_woff.c: In function 'header_check_woff': BUILDSTDERR: file_woff.c:62:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_woff.c:62:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_woff.c:62:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_wtv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wtv.c: In function 'header_check_wtv': BUILDSTDERR: file_wtv.c:49:24: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 49 | const uint32_t *size=(const uint32_t *)(&buffer[0x5c]); BUILDSTDERR: | ^ BUILDSTDERR: file_wtv.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wtv.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_x3f.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_x3f.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 57 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_x3f.c: In function 'header_check_x3f': BUILDSTDERR: file_x3f.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 59 | static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ disabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. In file included from file_wv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_wv.c: In function 'header_check_wv': BUILDSTDERR: file_wv.c:68:27: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 68 | const WavpackHeader *wv=(const WavpackHeader*)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_wv.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_wv.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_wv.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_wv.c: In function 'data_check_wv': BUILDSTDERR: file_wv.c:89:29: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 89 | const WavpackHeader *wv=(const WavpackHeader*)&buffer[i]; BUILDSTDERR: | ^ BUILDSTDERR: file_x3i.c: In function 'header_check_x3i': BUILDSTDERR: file_x3i.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_x3i.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_x3i.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_x3i.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_txt.c:38: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_txt.c: In function 'header_check_ttd': BUILDSTDERR: file_txt.c:531:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:531:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:531:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_ers': BUILDSTDERR: file_txt.c:548:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_txt.c:548:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:548:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:548:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_ics': BUILDSTDERR: file_txt.c:558:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:558:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_perlm': BUILDSTDERR: file_txt.c:587:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:587:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_dc': BUILDSTDERR: file_txt.c:616:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:616:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:616:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_html': BUILDSTDERR: file_txt.c:702:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:702:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_vbm': BUILDSTDERR: file_txt.c:729:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_txt.c:729:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:729:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:729:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_xml_utf8': BUILDSTDERR: file_txt.c:772:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:772:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_xml_utf16': BUILDSTDERR: file_txt.c:802:56: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_txt.c:802:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:802:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_xml': BUILDSTDERR: file_txt.c:813:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:813:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_rtf': BUILDSTDERR: file_txt.c:912:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:912:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_xmp': BUILDSTDERR: file_txt.c:930:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:930:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_thunderbird': BUILDSTDERR: file_txt.c:957:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:957:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_mbox': BUILDSTDERR: file_txt.c:974:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:974:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_fasttxt': BUILDSTDERR: file_txt.c:1000:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:1000:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:1000:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_smil': BUILDSTDERR: file_txt.c:1433:51: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_txt.c:1433:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:1433:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:1433:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_stl': BUILDSTDERR: file_txt.c:1444:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 1444 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:1444:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 1444 | 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) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_svg': BUILDSTDERR: file_txt.c:1458:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_txt.c:1458:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_txt.c:1458:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:1458:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_txt.c: In function 'header_check_snz': BUILDSTDERR: file_txt.c:1467:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_txt.c:1467:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD file_xfi.c: In function 'header_check_xfi': BUILDSTDERR: file_xfi.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xfi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xfi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xfi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_xcf.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xcf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 55 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xcf.c: In function 'header_check_xcf': BUILDSTDERR: file_xcf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xcf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xcf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_xar.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xar.c: In function 'header_check_xar': BUILDSTDERR: file_xar.c:60:32: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 60 | const struct xar_header *hdr=(const struct xar_header *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_xar.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xar.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xar.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_x4a.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_x4a.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 49 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_x4a.c: In function 'header_check_ysfc100': BUILDSTDERR: file_x4a.c:77:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_x4a.c:77:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_x4a.c:77:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xsv.c: In function 'header_check_xsv': BUILDSTDERR: file_xsv.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xsv.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xsv.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xsv.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -WunreacIn file included from file_xfs.c:31: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from file_xfs.c:32: BUILDSTDERR: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 108 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xfs.c: In function 'header_check_xfs_sb': BUILDSTDERR: file_xfs.c:47:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xfs.c:47:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xfs.c:47:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xfs.c: In function 'data_check_stopasap': BUILDSTDERR: file_xfs.c:63:62: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xfs.c:63:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xfs.c:63:119: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xfs.c: In function 'header_save_xfs': BUILDSTDERR: file_xfs.c:68:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xfs.c:68:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xfs.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xfs.c: In function 'header_check_xfs_inode': BUILDSTDERR: file_xfs.c:120:34: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 120 | const xfs_dinode_core_t *inode=(const xfs_dinode_core_t *)buffer; BUILDSTDERR: | ^ BUILDSTDERR: file_xfs.c:118:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xfs.c:118:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xml.c: In function 'header_check_xml': BUILDSTDERR: file_xml.c:81:50: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xml.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xml.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xml.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_xm.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xm.c: In function 'header_check_xm': BUILDSTDERR: file_xm.c:181:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xm.c:181:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xm.c:181:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xm.c:181:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from file_xpt.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xpt.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 54 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xpt.c: In function 'header_check_xpt': BUILDSTDERR: file_xpt.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xpt.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xpt.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_xz.c: In function 'header_check_xz': BUILDSTDERR: file_xz.c:50:49: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_xz.c:50:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xz.c:50:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xz.c:50:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ hable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fsIn file included from file_xv.c:32: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_xv.c: In function 'header_check_xv': BUILDSTDERR: file_xv.c:47:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_xv.c:47:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_xv.c:47:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_z2d.c: In function 'header_check_z2d': BUILDSTDERR: file_z2d.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_z2d.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_z2d.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: file_zcode.c: In function 'header_check_zcode': BUILDSTDERR: file_zcode.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_zcode.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_zcode.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_zcode.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ tack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -In file included from partgptro.c:29: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from partgptro.c:30: BUILDSTDERR: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 47 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: partgptro.c: In function 'write_part_gpt': BUILDSTDERR: partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter] BUILDSTDERR: 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~^~~~~~~~ BUILDSTDERR: partgptro.c:32:57: warning: unused parameter 'list_part' [-Wunused-parameter] BUILDSTDERR: 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: partgptro.c:32:92: warning: unused parameter 'verbose' [-Wunused-parameter] BUILDSTDERR: 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~ BUILDSTDERR: file_zpr.c: In function 'header_check_zpr': BUILDSTDERR: file_zpr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_zpr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_zpr.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: suspend_no.c: In function 'suspend_memory': BUILDSTDERR: suspend_no.c:14:34: warning: unused parameter 'cinfo' [-Wunused-parameter] BUILDSTDERR: 14 | void suspend_memory(j_common_ptr cinfo) { BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: suspend_no.c: In function 'resume_memory': BUILDSTDERR: suspend_no.c:17:32: warning: unused parameter 'cinfo' [-Wunused-parameter] BUILDSTDERR: 17 | int resume_memory(j_common_ptr cinfo) BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: In file included from fidentify.c:48: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from fidentify.c:49: BUILDSTDERR: fidentify.c: In function 'file_identify': BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fidentify.c:92:31: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 92 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: fidentify.c:95:35: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 95 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from file_zip.c:40: BUILDSTDERR: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c:94:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 94 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c:104:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 104 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'zip_parse_central_dir': BUILDSTDERR: file_zip.c:403:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 403 | } __attribute__ ((gcc_struct, __packed__)) dir; BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'zip64_parse_end_central_dir': BUILDSTDERR: file_zip.c:462:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 462 | } __attribute__ ((gcc_struct, __packed__)) dir; BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'zip_parse_end_central_dir': BUILDSTDERR: file_zip.c:505:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 505 | } __attribute__ ((gcc_struct, __packed__)) dir; BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'zip_parse_data_desc': BUILDSTDERR: file_zip.c:540:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 540 | } __attribute__ ((gcc_struct, __packed__)) desc; BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'zip64_parse_end_central_dir_locator': BUILDSTDERR: file_zip.c:597:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 597 | } __attribute__ ((gcc_struct, __packed__)) loc; BUILDSTDERR: | ^ BUILDSTDERR: file_zip.c: In function 'header_check_winzip': BUILDSTDERR: file_zip.c:882:53: warning: unused parameter 'buffer' [-Wunused-parameter] BUILDSTDERR: 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: file_zip.c:882:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] BUILDSTDERR: 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: file_zip.c:882:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] BUILDSTDERR: 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: file_zip.c:882:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] BUILDSTDERR: 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c BUILDSTDERR: make[2]: Leaving directory '/bIn file included from /usr/include/qt5/QtCore/qlocale.h:43, BUILDSTDERR: from /usr/include/qt5/QtGui/qguiapplication.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qapplication.h:52, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QApplication:1, BUILDSTDERR: from qmainrec.cpp:27: BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 273 | { other.d = Private(); } BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' BUILDSTDERR: 399 | inline Private(const Private &other) Q_DECL_NOTHROW BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from qmainrec.cpp:43: BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 173 | : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' BUILDSTDERR: 172 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from qphotorec.h:28, BUILDSTDERR: from qmainrec.cpp:43: BUILDSTDERR: common.h: At global scope: BUILDSTDERR: common.h:37:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from qphbs.cpp:42: BUILDSTDERR: common.h:37:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from qphbs.cpp:44: BUILDSTDERR: pnext.h: In function 'void get_next_header(alloc_data_t*, alloc_data_t**, uint64_t*)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'void get_prev_header(alloc_data_t*, alloc_data_t**, uint64_t*, unsigned int)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from qphbs.cpp:50: BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 273 | { other.d = Private(); } BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' BUILDSTDERR: 399 | inline Private(const Private &other) Q_DECL_NOTHROW BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from qphbs.cpp:50: BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 173 | : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' BUILDSTDERR: 172 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from qphbs.cpp:44: BUILDSTDERR: qphbs.cpp: In member function 'pstatus_t QPhotorec::photorec_find_blocksize(alloc_data_t*)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: qphbs.cpp:87:24: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 87 | current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: list.h:235:62: warning: cast from 'const char*' to 'const file_check_list_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: qphbs.cpp:111:34: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 111 | const file_check_list_t *tmp2=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:62: warning: cast from 'const char*' to 'const file_check_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: qphbs.cpp:114:37: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 114 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ uilddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qmainrec.o `test -f 'qmainrec.cpp' || echo './'`qmainrec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphbs.o `test -f 'qphbs.cpp' || echo './'`qphbs.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 moc-qt5 qphotorec.h -o moc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 rcc-qt5 qphotorec.qrc -o rcc_qphotorec.cpp -name qphotorec make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ca.ts -qm lang/qphotorec.ca.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.es.ts -qm lang/qphotorec.es.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.fr.ts -qm lang/qphotorec.fr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.it.ts -qm lang/qphotorec.it.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ja.ts -qm lang/qphotorec.ja.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.pt.ts -qm lang/qphotorec.pt.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: make[2]: EnteIn file included from qpsearch.cpp:52: BUILDSTDERR: common.h:37:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from qpsearch.cpp:56: BUILDSTDERR: fat.h:76:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 76 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:86:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 86 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: fat.h:102:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 102 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from qpsearch.cpp:55: BUILDSTDERR: pnext.h: In function 'void get_next_header(alloc_data_t*, alloc_data_t**, uint64_t*)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:37:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 37 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: pnext.h: In function 'void get_prev_header(alloc_data_t*, alloc_data_t**, uint64_t*, unsigned int)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: pnext.h:78:27: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from qpsearch.cpp:66: BUILDSTDERR: psearch.h: In function 'int ind_block(const unsigned char*, unsigned int)': BUILDSTDERR: psearch.h:37:41: warning: cast from 'const unsigned char*' to 'const uint32_t*' {aka 'const unsigned int*'} increases required alignment of target type [-Wcast-align] BUILDSTDERR: 37 | const uint32_t *p32=(const uint32_t *)buffer; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from qpsearch.cpp:67: BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 273 | { other.d = Private(); } BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' BUILDSTDERR: 399 | inline Private(const Private &other) Q_DECL_NOTHROW BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from qpsearch.cpp:67: BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 173 | : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' BUILDSTDERR: 172 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from dir.h:30, BUILDSTDERR: from qpsearch.cpp:55: BUILDSTDERR: photorec_check_header.h: In function 'pstatus_t photorec_check_header(file_recovery_t*, ph_param*, const ph_options*, alloc_data_t*, const unsigned char*, pfstatus_t*, uint64_t)': BUILDSTDERR: list.h:235:62: warning: cast from 'const char*' to 'const file_check_list_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec_check_header.h:150:34: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 150 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.h:235:62: warning: cast from 'const char*' to 'const file_check_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: photorec_check_header.h:153:38: note: in expansion of macro 'td_list_entry_const' BUILDSTDERR: 153 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: qpsearch.cpp: In member function 'pstatus_t QPhotorec::photorec_aux(alloc_data_t*)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: list.h:343:2: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 343 | td_list_entry((ptr)->next, type, member) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: qpsearch.cpp:99:24: note: in expansion of macro 'td_list_first_entry' BUILDSTDERR: 99 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ ring directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ru.ts -qm lang/qphotorec.ru.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.tr.ts -qm lang/qphotorec.tr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.zh_TW.ts -qm lang/qphotorec.zh_TW.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qpsearch.o `test -f 'qpsearch.cpp' || echo './'`qpsearch.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testdisk autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o setdate.o next.o -lncursesw -ltinfo -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fidentify fidentify.o common.o misc.o phcfg.o setdate.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o log.o crc.o ext2_common.o fat_common.o suspend_no.o -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o photorec phmain.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o addpartn.o askloc.o chgarchn.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartseln.o psearchn.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o ln: failed to create symbolic link './qphotorec_locale.qrc': File exists file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o -lncursesw -ltinfo -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' ln -s qphotorec_locale.qrc . || exit 0 QT_SELECT=qt5 rcc-qt5 ./qphotorec_locale.qrc -o rcc_qphotorec_locale.cpp -name qphotorec_locale make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec.o `test -f 'rcc_qphotorec.cpp' || echo './'`rcc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets In file included from /usr/include/qt5/QtCore/qlocale.h:43, BUILDSTDERR: from /usr/include/qt5/QtGui/qguiapplication.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qapplication.h:52, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QApplication:1, BUILDSTDERR: from qphotorec.cpp:59: BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 273 | { other.d = Private(); } BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' BUILDSTDERR: 399 | inline Private(const Private &other) Q_DECL_NOTHROW BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qtableview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QTableView:1, BUILDSTDERR: from qphotorec.cpp:63: BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 173 | : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' BUILDSTDERR: 172 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from qphotorec.cpp:77: BUILDSTDERR: common.h: At global scope: BUILDSTDERR: common.h:37:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from filegen.h:28, BUILDSTDERR: from qphotorec.cpp:81: BUILDSTDERR: qphotorec.cpp: In member function 'int QPhotorec::photorec(alloc_data_t*)': BUILDSTDERR: list.h:232:56: warning: cast from 'char*' to 'alloc_data_t*' increases required alignment of target type [-Wcast-align] BUILDSTDERR: 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) BUILDSTDERR: | ^ BUILDSTDERR: qphotorec.cpp:811:22: note: in expansion of macro 'td_list_entry' BUILDSTDERR: 811 | start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from moc_qphotorec.cpp:9: BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)': BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 273 | { other.d = Private(); } BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/qt5/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)' BUILDSTDERR: 399 | inline Private(const Private &other) Q_DECL_NOTHROW BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistview.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/qlistwidget.h:44, BUILDSTDERR: from /usr/include/qt5/QtWidgets/QListWidget:1, BUILDSTDERR: from qphotorec.h:19, BUILDSTDERR: from moc_qphotorec.cpp:9: BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)' BUILDSTDERR: 120 | QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)' BUILDSTDERR: 144 | QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 173 | : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)' BUILDSTDERR: 172 | inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)' BUILDSTDERR: 196 | QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)' BUILDSTDERR: 227 | QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)' BUILDSTDERR: 249 | QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)' BUILDSTDERR: 286 | QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)' BUILDSTDERR: 316 | QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)' BUILDSTDERR: 343 | QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)' BUILDSTDERR: 373 | QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)' BUILDSTDERR: 392 | QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)' BUILDSTDERR: 443 | QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)' BUILDSTDERR: 473 | QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)' BUILDSTDERR: 492 | QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)' BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here BUILDSTDERR: 534 | QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)' BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here BUILDSTDERR: 553 | QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)' BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here BUILDSTDERR: 580 | QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)' BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here BUILDSTDERR: 602 | QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)' BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here BUILDSTDERR: 620 | QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)' BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here BUILDSTDERR: 640 | QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)' BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)' BUILDSTDERR: 510 | QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here BUILDSTDERR: 654 | QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~ BUILDSTDERR: /usr/include/qt5/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)' BUILDSTDERR: 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from qphotorec.h:28, BUILDSTDERR: from moc_qphotorec.cpp:9: BUILDSTDERR: common.h: At global scope: BUILDSTDERR: common.h:37:42: warning: 'gcc_struct' attribute directive ignored [-Wattributes] BUILDSTDERR: 37 | } __attribute__ ((gcc_struct, __packed__)); BUILDSTDERR: | ^ -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec_locale.o `test -f 'rcc_qphotorec_locale.cpp' || echo './'`rcc_qphotorec_locale.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphotorec.o `test -f 'qphotorec.cpp' || echo './'`qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-moc_qphotorec.o `test -f 'moc_qphotorec.cpp' || echo './'`moc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' BUILDSTDERR: g++ -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qphotorec qphotorec-qmainrec.o qphotorec-qphotorec.o qphotorec-qphbs.o qphotorec-qpsearch.o chgtype.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o fil+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 e_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o qphotorec-moc_qphotorec.o qphotorec-rcc_qphotorec.o qphotorec-rcc_qphotorec_locale.o -ljpeg -lQt5Gui -lQt5Core -lQt5Widgets -lQt5Gui -lQt5Core -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AkU9Fw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 + cd testdisk-7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 'INSTALL=/usr/bin/install -p' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/icons/hicolor' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -p -m 644 48x48/apps/qphotorec.png '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -p -m 644 scalable/apps/qphotorec.svg '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/icons/hicolor/scalable/apps' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' *** Icon cache not updated. After (un)install, run this: *** gtk-update-icon-cache -f -t /usr/share/icons/hicolor make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' Making install in man make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in zh_CN make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/man/zh_CN/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/man/zh_CN/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin' /usr/bin/install -p testdisk photorec fidentify qphotorec '/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1' /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk /usr/bin/install -p -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/applications /usr/bin/install -p -m 644 ./linux/qphotorec.desktop /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/applications BUILDSTDERR: make[3]: Leaving directory '/builddir/build/BUILD/testdisk+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 7.1-2.fc31 --unique-debug-suffix -7.1-2.fc31.riscv64 --unique-debug-src-base testdisk-7.1-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/testdisk-7.1 BUILDSTDERR: 6823 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs -7.1' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/photorec explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/qphotorec explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/fidentify explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/testdisk extracting debug info from /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/photorec extracting debug info from /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/fidentify extracting debug info from /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/testdisk extracting debug info from /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/bin/qphotorec original debug info size: 14356kB, size after compression: 10172kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.f6pZDv Processing files: testdisk-7.1-2.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Qgnfpy + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + DOCDIR=/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr AUTHORS /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr ChangeLog /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr NEWS /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr README.md /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr THANKS /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + cp -pr documentation.html /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/doc/testdisk + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nwn5Cy + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + LICENSEDIR=/builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/licenses/testdisk + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/licenses/testdisk + cp -pr COPYING /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64/usr/share/licenses/testdisk + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: testdisk = 7.1-2.fc31 testdisk(riscv-64) = 7.1-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libncursesw.so.6()(64bit) libntfs-3g.so.88()(64bit) libtinfo.so.6()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: testdisk-doc < 6.12 Processing files: qphotorec-7.1-2.fc31.riscv64 Provides: application() application(qphotorec.desktop) qphotorec = 7.1-2.fc31 qphotorec(riscv-64) = 7.1-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libntfs-3g.so.88()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: testdisk-debugsource-7.1-2.fc31.riscv64 Provides: testdisk-debugsource = 7.1-2.fc31 testdisk-debugsource(riscv-64) = 7.1-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: testdisk-debuginfo-7.1-2.fc31.riscv64 Provides: debuginfo(build-id) = 3e7e76fe0d7b574115c5cd01ccacd1384c8829e0 debuginfo(build-id) = 49578daafbece1ba2ef3621cea96dd80c068bf53 debuginfo(build-id) = cad92ce4a985323a526a32b40c469ea571002c3a testdisk-debuginfo = 7.1-2.fc31 testdisk-debuginfo(riscv-64) = 7.1-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(riscv-64) = 7.1-2.fc31 Processing files: qphotorec-debuginfo-7.1-2.fc31.riscv64 Provides: debuginfo(build-id) = f0b3eb8ab20293b5d4fdc1e48c58b005d9f6b0c5 qphotorec-debuginfo = 7.1-2.fc31 qphotorec-debuginfo(riscv-64) = 7.1-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(riscv-64) = 7.1-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 Wrote: /builddir/build/RPMS/qphotorec-7.1-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/testdisk-7.1-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/testdisk-debugsource-7.1-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/qphotorec-debuginfo-7.1-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/testdisk-debuginfo-7.1-2.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MD8Kmx + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/testdisk-7.1-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0