<86>Dec 19 04:48:52 userdel[1353629]: delete user 'rooter' <86>Dec 19 04:48:52 userdel[1353629]: removed group 'rooter' owned by 'rooter' <86>Dec 19 04:48:52 userdel[1353629]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 04:48:52 groupadd[1353645]: group added to /etc/group: name=rooter, GID=1811 <86>Dec 19 04:48:52 groupadd[1353645]: group added to /etc/gshadow: name=rooter <86>Dec 19 04:48:52 groupadd[1353645]: new group: name=rooter, GID=1811 <86>Dec 19 04:48:52 useradd[1353662]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash, from=none <86>Dec 19 04:48:52 userdel[1353683]: delete user 'builder' <86>Dec 19 04:48:52 userdel[1353683]: removed group 'builder' owned by 'builder' <86>Dec 19 04:48:52 userdel[1353683]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 04:48:52 groupadd[1353702]: group added to /etc/group: name=builder, GID=1812 <86>Dec 19 04:48:52 groupadd[1353702]: group added to /etc/gshadow: name=builder <86>Dec 19 04:48:52 groupadd[1353702]: new group: name=builder, GID=1812 <86>Dec 19 04:48:52 useradd[1353719]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash, from=none <13>Dec 19 04:48:56 rpmi: libxkbcommon-1.7.0-alt1.1 sisyphus+343672.100.1.1 1711490810 installed <13>Dec 19 04:48:56 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:48:56 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:48:56 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Dec 19 04:48:56 rpmi: qt5-base-common-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:56 rpmi: qt5-declarative-common-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:48:57 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 19 04:48:57 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 19 04:48:57 rpmi: libts0-1.22-alt3 sisyphus+278442.100.1.2 1626216676 installed <13>Dec 19 04:48:57 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 19 04:48:57 rpmi: libmtdev-1.1.6-alt1 sisyphus+278361.100.1.1 1626091644 installed <13>Dec 19 04:48:57 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 19 04:48:57 rpmi: libevdev-1.13.3-alt1 sisyphus+356918.100.1.1 1725546440 installed <13>Dec 19 04:48:57 rpmi: libdouble-conversion3-3.3.0-alt1 sisyphus+333410.100.1.1 1698928789 installed <13>Dec 19 04:48:57 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 19 04:48:57 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Dec 19 04:48:57 rpmi: libwayland-server-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 19 04:48:57 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Dec 19 04:48:57 rpmi: libqt5-core-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:57 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:48:57 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:48:57 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 19 04:48:58 rpmi: clang18.1-support-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:48:58 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:48:58 rpmi: libqt5-concurrent-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: libqt5-test-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: libqt5-xml-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Dec 19 04:48:58 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Dec 19 04:48:58 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Dec 19 04:48:58 rpmi: libdouble-conversion-devel-3.3.0-alt1 sisyphus+333410.100.1.1 1698928789 installed <13>Dec 19 04:48:58 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 19 04:48:58 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 19 04:48:58 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 19 04:48:58 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 19 04:48:58 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 19 04:48:58 rpmi: qt5-tools-common-5.15.15-alt1 sisyphus+359327.100.1.3 1728470812 installed <13>Dec 19 04:48:58 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:48:58 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:48:58 rpmi: libcom_err-devel-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:48:58 rpmi: libe2fs-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:48:58 rpmi: libss-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:48:58 rpmi: libss-devel-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:48:58 rpmi: libxkbcommon-devel-1.7.0-alt1.1 sisyphus+343672.100.1.1 1711490810 installed <13>Dec 19 04:48:58 rpmi: rpm-macros-qt5-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: xxd-4:9.1.0917-alt3 sisyphus+365189.100.1.1 1734360793 installed <13>Dec 19 04:48:58 rpmi: vulkan-headers-1.3.296-alt1 sisyphus+365035.500.5.1 1734354669 installed <13>Dec 19 04:48:58 rpmi: libudev-devel-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 19 04:48:58 rpmi: libsqlite3-3.47.1-alt1 sisyphus+365248.200.3.1 1734527620 installed <13>Dec 19 04:48:58 rpmi: libqt5-sql-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: libprogsreiserfs-0.3.0.5-alt5 sisyphus+287584.100.1.1 1634568374 installed <13>Dec 19 04:48:58 rpmi: libossp-uuid16-1.6.2-alt2 sisyphus+335067.4400.2.2 1701150504 installed <13>Dec 19 04:48:58 rpmi: libntfs-3g-2:2022.10.3-alt1 sisyphus+326835.100.1.1 1691586462 installed <13>Dec 19 04:48:58 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:48:58 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:48:58 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:48:58 rpmi: libwacom-data-2.14.0-alt1 sisyphus+364131.100.1.1 1733397189 installed <13>Dec 19 04:48:58 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Dec 19 04:48:58 rpmi: libgudev-1:238-alt1 sisyphus+324364.100.1.1 1688646144 installed <13>Dec 19 04:48:58 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Dec 19 04:48:58 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787316 installed <13>Dec 19 04:48:58 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Dec 19 04:48:58 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Dec 19 04:48:58 rpmi: libduktape207-2.7.0-alt3 sisyphus+352341.100.1.1 1720324462 installed <13>Dec 19 04:48:58 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 19 04:48:58 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 19 04:48:58 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129194 installed <13>Dec 19 04:48:58 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 19 04:48:58 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:48:58 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 19 04:48:58 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 19 04:48:58 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 19 04:48:58 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 19 04:48:58 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 19 04:48:58 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:48:58 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:48:58 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824042 installed <13>Dec 19 04:48:58 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Dec 19 04:48:58 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Dec 19 04:48:58 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Dec 19 04:48:58 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 19 04:48:58 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 19 04:48:58 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Dec 19 04:48:58 rpmi: libavahi-0.8-alt4 sisyphus+344258.100.1.1 1712133856 installed <13>Dec 19 04:48:58 rpmi: libqt5-dbus-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:48:58 rpmi: libSDL2-2.30.10-alt1 sisyphus+364560.100.1.1 1733772087 installed <13>Dec 19 04:48:58 rpmi: tslib-1.22-alt3 sisyphus+278442.100.1.2 1626216676 installed <13>Dec 19 04:48:58 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>Dec 19 04:48:58 rpmi: libsensors3-3.6.0-alt3 sisyphus+308579.100.1.1 1666035267 installed <13>Dec 19 04:48:58 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 19 04:48:59 rpmi: libspirv-tools0-1:2024.4-alt0.1 sisyphus+365035.200.5.1 1734354502 installed <13>Dec 19 04:48:59 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Dec 19 04:48:59 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:49:00 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:49:00 rpmi: libclang18-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 19 04:49:00 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 19 04:49:00 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 19 04:49:00 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 19 04:49:01 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 19 04:49:01 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 19 04:49:02 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 19 04:49:02 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 19 04:49:02 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>Dec 19 04:49:02 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>Dec 19 04:49:02 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Dec 19 04:49:02 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+278275.100.1.2 1626148616 installed <13>Dec 19 04:49:02 rpmi: libxcbutil-1:0.4.1-alt1 sisyphus+312057.100.1.1 1671526887 installed <13>Dec 19 04:49:02 rpmi: libxcbutil-image-0.4.0-alt1 sisyphus+275413.100.1.3 1624505793 installed <13>Dec 19 04:49:02 rpmi: libxcbutil-keysyms-0.4.0-alt1 sisyphus+278187.100.1.1 1626075966 installed <13>Dec 19 04:49:02 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+276916.100.1.2 1625275234 installed <13>Dec 19 04:49:02 rpmi: libxkbcommon-x11-1.7.0-alt1.1 sisyphus+343672.100.1.1 1711490810 installed <13>Dec 19 04:49:02 rpmi: libwayland-client-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 19 04:49:02 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440789 installed <13>Dec 19 04:49:02 rpmi: libdrm-1:2.4.124-alt1 sisyphus+364215.100.1.1 1733469813 installed <13>Dec 19 04:49:02 rpmi: libGLX-mesa-4:24.3.1-alt1 sisyphus+364215.200.1.1 1733470187 installed <13>Dec 19 04:49:02 rpmi: libgbm-4:24.3.1-alt1 sisyphus+364215.200.1.1 1733470187 installed <13>Dec 19 04:49:02 rpmi: libEGL-mesa-4:24.3.1-alt1 sisyphus+364215.200.1.1 1733470187 installed <13>Dec 19 04:49:02 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:49:02 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:49:02 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:49:02 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 19 04:49:02 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 19 04:49:02 rpmi: libgio-2.82.4-alt1 sisyphus+364807.100.1.1 1733991592 installed <13>Dec 19 04:49:02 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 19 04:49:02 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 19 04:49:03 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 04:49:03 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 04:49:03 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 19 04:49:03 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:49:03 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:49:03 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 19 04:49:03 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 19 04:49:03 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:49:03 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 04:49:03 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 19 04:49:03 groupadd[1381447]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 19 04:49:03 groupadd[1381447]: group added to /etc/gshadow: name=_keytab <86>Dec 19 04:49:03 groupadd[1381447]: new group: name=_keytab, GID=999 <13>Dec 19 04:49:04 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Dec 19 04:49:04 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:49:04 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:49:04 rpmi: python3-module-pyudev-0.24.3-alt1 sisyphus+347852.100.1.1 1715497013 installed <13>Dec 19 04:49:04 rpmi: python3-module-libevdev-0.11-alt1 sisyphus+300877.100.1.1 1653893962 installed <13>Dec 19 04:49:04 rpmi: libwacom-2.14.0-alt1 sisyphus+364131.100.1.1 1733397189 installed <13>Dec 19 04:49:04 rpmi: libinput-1.27.0-alt1 sisyphus+362919.100.1.1 1732018065 installed <13>Dec 19 04:49:04 rpmi: libcups-2.4.11-alt1 sisyphus+359120.200.2.1 1728202635 installed <13>Dec 19 04:49:04 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Dec 19 04:49:04 groupadd[1382660]: group added to /etc/group: name=sasl, GID=998 <86>Dec 19 04:49:04 groupadd[1382660]: group added to /etc/gshadow: name=sasl <86>Dec 19 04:49:04 groupadd[1382660]: new group: name=sasl, GID=998 <13>Dec 19 04:49:04 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 19 04:49:04 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:49:04 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 04:49:04 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 19 04:49:04 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 19 04:49:04 rpmi: libproxy-0.5.9-alt1 sisyphus+360721.100.1.1 1729865346 installed <13>Dec 19 04:49:04 rpmi: libqt5-network-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:04 rpmi: libqt5-xcbqpa-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:04 rpmi: libqt5-eglfskmssupport-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:04 rpmi: libqt5-eglfsdeviceintegration-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: libqt5-gui-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: libqt5-widgets-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: libqt5-qmlmodels-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:49:05 rpmi: libqt5-qmlworkerscript-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:49:05 rpmi: libqt5-quick-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:49:05 rpmi: libqt5-quickshapes-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:49:05 rpmi: libqt5-qml-5.15.15-alt1 sisyphus+359325.100.1.1 1728466779 installed <13>Dec 19 04:49:05 rpmi: libqt5-help-5.15.15-alt1 sisyphus+359327.100.1.3 1728470812 installed <13>Dec 19 04:49:05 rpmi: libqt5-opengl-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: libqt5-printsupport-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: qt5-base-devel-5.15.15-alt1 sisyphus+359324.100.1.2 1728478992 installed <13>Dec 19 04:49:05 rpmi: qt5-tools-5.15.15-alt1 sisyphus+359327.100.1.3 1728470812 installed <13>Dec 19 04:49:05 rpmi: libncursesw-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:49:05 rpmi: libntfs-3g-devel-2:2022.10.3-alt1 sisyphus+326835.100.1.1 1691586462 installed <13>Dec 19 04:49:05 rpmi: libossp-uuid-devel-1.6.2-alt2 sisyphus+335067.4400.2.2 1701150504 installed <13>Dec 19 04:49:05 rpmi: libprogsreiserfs-devel-0.3.0.5-alt5 sisyphus+287584.100.1.1 1634568374 installed <13>Dec 19 04:49:05 rpmi: libe2fs-devel-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:49:05 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 19 04:49:05 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 19 04:49:05 rpmi: libuuid-devel-2.39.2-alt1 sisyphus+327286.4500.14.1 1711486324 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/testdisk-7.2-alt1.nosrc.rpm (w1.gzdio) Installing testdisk-7.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.43062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf testdisk-7.2 + echo 'Source #0 (testdisk-7.2.tar):' Source #0 (testdisk-7.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/testdisk-7.2.tar + cd testdisk-7.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.43062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd testdisk-7.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto ' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto ' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto ' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto ' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto ' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' ' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free 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 x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-g++ option to enable C++11 features... none needed checking dependency style of x86_64-alt-linux-g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-alt-linux-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for byteswap.h... yes checking for curses.h... yes checking for cygwin/fs.h... no checking for cygwin/version.h... no checking for dal/file_dal.h... yes checking for dal/file.h... no checking for ddk/ntddstor.h... no checking for dirent.h... yes checking for endian.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for features.h... yes checking for giconv.h... no checking for glob.h... yes checking for iconv.h... yes checking for io.h... no checking for libgen.h... yes checking for limits.h... yes checking for linux/fs.h... yes checking for linux/hdreg.h... yes checking for linux/types.h... yes checking for locale.h... yes checking for machine/endian.h... no checking for malloc.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... yes checking for ncurses/ncurses.h... yes checking for ncursesw/curses.h... yes checking for ncursesw/ncurses.h... yes checking for ntfs/version.h... no checking for pwd.h... yes checking for scsi/scsi.h... yes checking for scsi/scsi_ioctl.h... yes checking for scsi/sg.h... yes checking for setjmp.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for sys/cygwin.h... no checking for sys/disk.h... no checking for sys/disklabel.h... no checking for sys/dkio.h... no checking for sys/endian.h... no checking for sys/ioctl.h... yes checking for sys/sysmacros.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/utsname.h... yes checking for sys/vtoc.h... no checking for time.h... yes checking for utime.h... yes checking for w32api/ddk/ntdddisk.h... no checking for windef.h... no checking for windows.h... no checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking for libewf.h... no configure: WARNING: Disable use of ewf library checking for jpeglib.h... yes checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking for ntfs-3g/attrib.h... yes checking for ntfs-3g/volume.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... yes checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking whether x86_64-alt-linux-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... yes checking for sys/uuid.h... no checking for uuid/uuid.h... yes checking for uuid.h... yes checking for uuidgen... no checking for uuid in -luuid_generate... no checking for uuid in -luuid_create... no checking for uuid_create... no checking for uuid_generate... no checking for compress2 in -lz... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wtrampolines... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wtrampolines... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... yes checking for ntfs_libntfs_version... no checking for ntfs_volume_startup... no checking for Qt5Gui >= 5.0.0... yes checking for Qt5Widgets >= 5.0.0... yes checking whether Qt5 is using --std=c++14... yes checking whether g++ understands --std=c++14... yes checking for x86_64-alt-linux-moc-qt5... no checking for x86_64-alt-linux-moc... no checking for moc-qt5... moc-qt5 checking for x86_64-alt-linux-rcc-qt5... no checking for x86_64-alt-linux-rcc... no checking for rcc-qt5... rcc-qt5 checking for x86_64-alt-linux-lrelease-qt5... no checking for x86_64-alt-linux-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 checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 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 '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c In file included from hdwin32.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c In file included from ewf.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c In file included from fat_common.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c In file included from setdate.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o apfs_common.o apfs_common.c In file included from apfs_common.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition apfs_common.c: In function 'test_APFS': apfs_common.c:78:61: warning: unused parameter 'partition' [-Wunused-parameter] 78 | int test_APFS(const nx_superblock_t *sb, const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_common.o ext2_common.c In file included from ext2_common.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c In file included from misc.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c In file included from msdos.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c In file included from common.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c In file included from log.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c In file included from list_sort.c:22: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c In file included from log_part.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c In file included from iso.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c In file included from hpa_dco.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c In file included from sudo.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c In file included from intrf.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c In file included from unicode.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c In file included from win32.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c In file included from parthumax.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition parthumax.c: In function 'read_part_humax': parthumax.c:158:65: warning: unused parameter 'verbose' [-Wunused-parameter] 158 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ parthumax.c:158:84: warning: unused parameter 'saveheader' [-Wunused-parameter] 158 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ parthumax.c: In function 'write_part_humax': parthumax.c:212:37: warning: unused parameter 'disk_car' [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ parthumax.c:212:66: warning: unused parameter 'list_part' [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:212:101: warning: unused parameter 'verbose' [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function 'init_part_order_humax': parthumax.c:220:57: warning: unused parameter 'disk_car' [-Wunused-parameter] 220 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function 'set_next_status_humax': parthumax.c:299:49: warning: unused parameter 'disk_car' [-Wunused-parameter] 299 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function 'init_structure_humax': parthumax.c:327:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 327 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c:327:91: warning: unused parameter 'verbose' [-Wunused-parameter] 327 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function 'get_partition_typename_humax': parthumax.c:361:68: warning: unused parameter 'partition' [-Wunused-parameter] 361 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c In file included from partauto.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c In file included from partmac.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partmac.c: In function 'write_part_mac': partmac.c:263:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partmac.c:263:64: warning: unused parameter 'list_part' [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:263:99: warning: unused parameter 'verbose' [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function 'init_part_order_mac': partmac.c:271:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 271 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function 'set_next_status_mac': partmac.c:343:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 343 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function 'init_structure_mac': partmac.c:376:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 376 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c:376:89: warning: unused parameter 'verbose' [-Wunused-parameter] 376 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c In file included from partsun.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partsun.c: In function 'write_part_sun': partsun.c:252:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partsun.c:252:64: warning: unused parameter 'list_part' [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:252:99: warning: unused parameter 'verbose' [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partsun.c: In function 'set_next_status_sun': partsun.c:351:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 351 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function 'init_structure_sun': partsun.c:383:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 383 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c:383:89: warning: unused parameter 'verbose' [-Wunused-parameter] 383 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c In file included from partgpt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partgpt.c: In function 'init_part_order_gpt': partgpt.c:391:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 391 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'set_next_status_gpt': partgpt.c:472:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 472 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'init_structure_gpt': partgpt.c:495:46: warning: unused parameter 'disk_car' [-Wunused-parameter] 495 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c:495:89: warning: unused parameter 'verbose' [-Wunused-parameter] 495 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c In file included from partnone.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partnone.c: In function 'get_geometry_from_nonembr': partnone.c:238:77: warning: unused parameter 'verbose' [-Wunused-parameter] 238 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ partnone.c: In function 'init_part_order_none': partnone.c:374:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 374 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c: In function 'set_next_status_none': partnone.c:380:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 380 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:380:71: warning: unused parameter 'partition' [-Wunused-parameter] 380 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'test_structure_none': partnone.c:384:51: warning: unused parameter 'list_part' [-Wunused-parameter] 384 | static int test_structure_none(const list_part_t *list_part) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'is_part_known_none': partnone.c:395:50: warning: unused parameter 'partition' [-Wunused-parameter] 395 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'init_structure_none': partnone.c:400:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 400 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:400:90: warning: unused parameter 'verbose' [-Wunused-parameter] 400 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partnone.c: In function 'check_part_none': partnone.c:411:97: warning: unused parameter 'saveheader' [-Wunused-parameter] 411 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c In file included from partxbox.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partxbox.c: In function 'write_part_xbox': partxbox.c:202:36: warning: unused parameter 'disk_car' [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partxbox.c:202:65: warning: unused parameter 'list_part' [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:202:100: warning: unused parameter 'verbose' [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partxbox.c: In function 'init_part_order_xbox': partxbox.c:210:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 210 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function 'set_next_status_xbox': partxbox.c:282:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 282 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function 'init_structure_xbox': partxbox.c:315:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 315 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c:315:90: warning: unused parameter 'verbose' [-Wunused-parameter] 315 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o apfs.o apfs.c In file included from apfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition apfs.c: In function 'set_APFS_info': apfs.c:41:50: warning: unused parameter 'sb' [-Wunused-parameter] 41 | static void set_APFS_info(const nx_superblock_t *sb, partition_t *partition) | ~~~~~~~~~~~~~~~~~~~~~~~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c In file included from bsd.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c In file included from hdaccess.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition hdaccess.c: In function 'disk_get_model': hdaccess.c:1137:76: warning: unused parameter 'verbose' [-Wunused-parameter] 1137 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1616:56: warning: unused parameter 'buf' [-Wunused-parameter] 1616 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c In file included from bfs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c In file included from btrfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c In file included from cramfs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c In file included from ntfs_utl.c:27: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c In file included from fatx.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c In file included from ntfs_io.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ntfs_io.c: In function 'ntfs_device_testdisk_io_stat': ntfs_io.c:153:61: warning: unused parameter 'dev' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:153:79: warning: unused parameter 'buf' [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl': ntfs_io.c:173:62: warning: unused parameter 'dev' [-Wunused-parameter] 173 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request, | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:173:81: warning: unused parameter 'request' [-Wunused-parameter] 173 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request, | ~~~~~~~~~~~~~~^~~~~~~ ntfs_io.c:174:23: warning: unused parameter 'argp' [-Wunused-parameter] 174 | void *argp) | ~~~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c In file included from analyse.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c In file included from ext2.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c In file included from exfat.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c In file included from f2fs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition f2fs.c: In function 'recover_f2fs': f2fs.c:90:32: warning: unused parameter 'disk' [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c In file included from gfs2.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c In file included from parti386.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition parti386.c: In function 'init_part_order_i386': parti386.c:503:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 503 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c In file included from hfsp.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c In file included from luks.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c In file included from jfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c In file included from hfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c In file included from hpfs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c In file included from netware.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c In file included from lvm.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c In file included from refs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c In file included from fat.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c In file included from rfs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c In file included from savehdr.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c In file included from sun.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c In file included from swap.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c In file included from sysv.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c In file included from md.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c In file included from ntfs.c:28: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o vmfs.o vmfs.c In file included from vmfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c In file included from wbfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c In file included from addpart.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c In file included from addpartn.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c In file included from zfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c In file included from xfs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c In file included from chgarch.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c In file included from chgtype.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c In file included from chgarchn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c In file included from diskcapa.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c In file included from dirpart.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c In file included from dimage.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c In file included from adv.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c In file included from chgtypen.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c In file included from askloc.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition askloc.c: In function 'ask_location': askloc.c:319:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 319 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c In file included from geometry.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c In file included from dirn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c In file included from diskacc.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c In file included from hiddenn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c In file included from io_redir.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c In file included from nodisk.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c In file included from geometryn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c In file included from intrface.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c In file included from parti386n.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c In file included from ntfs_fix.c:21: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c In file included from ntfs_adv.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ntfs_adv.c: In function 'create_ntfs_boot_sector': ntfs_adv.c:295:40: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 295 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:297:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 297 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c In file included from tdelete.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c In file included from partgptn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c In file included from intrfn.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c In file included from tmbrcode.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c In file included from toptions.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c In file included from tlog.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c In file included from tload.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c In file included from tpartwr.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition fat_adv.c: In function 'file2entry': fat_adv.c:625:44: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 625 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c:625:54: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 625 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c In file included from tntfs.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c In file included from ntfs_udl.c:28: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ntfs_udl.c: In function 'get_parent_name': ntfs_udl.c:310:40: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ntfs_udl.c: In function 'get_filenames': ntfs_udl.c:399:36: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | name->uname = attr->file_name; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c In file included from next.c:28: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c In file included from ext2_dir.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ext2_dir.c: In function 'alloc_io_channel': ext2_dir.c:112:50: warning: unused parameter 'disk_car' [-Wunused-parameter] 112 | static io_channel alloc_io_channel(const disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~~~~~~~^~~~~~~~ ext2_dir.c: In function 'my_open': ext2_dir.c:139:38: warning: unused parameter 'dev' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ext2_dir.c:139:47: warning: unused parameter 'flags' [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ext2_dir.c: In function 'my_flush': ext2_dir.c:213:38: warning: unused parameter 'channel' [-Wunused-parameter] 213 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ext2_dir.c: In function 'list_dir_proc2': ext2_dir.c:218:38: warning: unused parameter 'dir' [-Wunused-parameter] 218 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ext2_dir.c:221:33: warning: unused parameter 'offset' [-Wunused-parameter] 221 | int offset, | ~~~~~~~^~~~~~ ext2_dir.c:222:33: warning: unused parameter 'blocksize' [-Wunused-parameter] 222 | int blocksize, | ~~~~~~~^~~~~~~~~ ext2_dir.c:223:34: warning: unused parameter 'buf' [-Wunused-parameter] 223 | char *buf, | ~~~~~~~~^~~ ext2_dir.c: In function 'ext2_dir': ext2_dir.c:271:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ext2_dir.c:271:58: warning: unused parameter 'partition' [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ext2_dir.c: In function 'ext2_copy': ext2_dir.c:292:38: warning: unused parameter 'disk_car' [-Wunused-parameter] 292 | static copy_file_t ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ext2_dir.c:292:67: warning: unused parameter 'partition' [-Wunused-parameter] 292 | static copy_file_t ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c In file included from exfat_dir.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition exfat_dir.c: In function 'exfat_ucstoutf8': exfat_dir.c:93:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c In file included from partgptw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partgptw.c: In function 'efi_generate_uuid': partgptw.c:77:2: warning: #warning "You need a uuid_generate, uuidgen or uuid_create function" [-Wcpp] 77 | #warning "You need a uuid_generate, uuidgen or uuid_create function" | ^~~~~~~ partgptw.c: In function 'write_part_gpt': partgptw.c:243:87: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:218:92: warning: unused parameter 'verbose' [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dir.o dir.c In file included from dir.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c In file included from rfs_dir.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition rfs_dir.c:114:7: warning: no previous prototype for 'dal_error' [-Wmissing-prototypes] 114 | char *dal_error(dal_t *dal) { | ^~~~~~~~~ rfs_dir.c: In function 'dal_error': rfs_dir.c:118:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | return ""; | ^~ rfs_dir.c:114:24: warning: unused parameter 'dal' [-Wunused-parameter] 114 | char *dal_error(dal_t *dal) { | ~~~~~~~^~~ rfs_dir.c: In function 'file_read': rfs_dir.c:138:105: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 138 | if(my_data->disk_car->pread(my_data->disk_car, buff, blocklen, my_data->partition->part_offset + off) != blocklen) | ^~ rfs_dir.c: In function 'file_write': rfs_dir.c:143:53: warning: unused parameter 'block' [-Wunused-parameter] 143 | static int file_write(dal_t *dal, void *buff, blk_t block, blk_t count) | ~~~~~~^~~~~ rfs_dir.c:143:66: warning: unused parameter 'count' [-Wunused-parameter] 143 | static int file_write(dal_t *dal, void *buff, blk_t block, blk_t count) | ~~~~~~^~~~~ rfs_dir.c: In function 'file_stat': rfs_dir.c:195:46: warning: unused parameter 'st' [-Wunused-parameter] 195 | static int file_stat(dal_t *dal,struct stat *st) | ~~~~~~~~~~~~~^~ rfs_dir.c: At top level: rfs_dir.c:243:6: warning: no previous prototype for 'dal_close' [-Wmissing-prototypes] 243 | void dal_close(dal_t *dal) { | ^~~~~~~~~ rfs_dir.c:254:6: warning: no previous prototype for 'file_close' [-Wmissing-prototypes] 254 | void file_close(dal_t *dal) { | ^~~~~~~~~~ rfs_dir.c:265:8: warning: no previous prototype for 'dal_open' [-Wmissing-prototypes] 265 | dal_t *dal_open(struct dal_ops *myops, const void *dev, size_t blocksize, int flags, void *data) | ^~~~~~~~ rfs_dir.c: In function 'dal_open': rfs_dir.c:265:52: warning: unused parameter 'dev' [-Wunused-parameter] 265 | dal_t *dal_open(struct dal_ops *myops, const void *dev, size_t blocksize, int flags, void *data) | ~~~~~~~~~~~~^~~ rfs_dir.c: In function 'reiser_dir': rfs_dir.c:421:31: warning: unused parameter 'disk_car' [-Wunused-parameter] 421 | static int reiser_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ rfs_dir.c:421:60: warning: unused parameter 'partition' [-Wunused-parameter] 421 | static int reiser_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ rfs_dir.c:421:117: warning: unused parameter 'cluster' [-Wunused-parameter] 421 | static int reiser_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rfs_dir.c: In function 'reiser_copy': rfs_dir.c:474:40: warning: unused parameter 'disk_car' [-Wunused-parameter] 474 | static copy_file_t reiser_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ rfs_dir.c:474:69: warning: unused parameter 'partition' [-Wunused-parameter] 474 | static copy_file_t reiser_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/reiserfs/object.h:25, from /usr/include/reiserfs/tree.h:27, from /usr/include/reiserfs/reiserfs.h:39, from rfs_dir.c:60: /usr/include/reiserfs/tools.h: At top level: /usr/include/reiserfs/tools.h:35:19: warning: inline function 'reiserfs_tools_find_next_zero_bit' declared but never defined 35 | extern inline int reiserfs_tools_find_next_zero_bit (const void *vaddr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/reiserfs/tools.h:32:19: warning: inline function 'reiserfs_tools_find_first_zero_bit' declared but never defined 32 | extern inline int reiserfs_tools_find_first_zero_bit (const void *vaddr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/reiserfs/tools.h:30:19: warning: inline function 'reiserfs_tools_test_bit' declared but never defined 30 | extern inline int reiserfs_tools_test_bit(int nr, const void *addr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/reiserfs/tools.h:29:19: warning: inline function 'reiserfs_tools_clear_bit' declared but never defined 29 | extern inline int reiserfs_tools_clear_bit (int nr, void *addr); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/reiserfs/tools.h:28:19: warning: inline function 'reiserfs_tools_set_bit' declared but never defined 28 | extern inline int reiserfs_tools_set_bit (int nr, void *addr); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c In file included from fatp.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition partgptro.c: In function 'write_part_gpt': partgptro.c:33:28: warning: unused parameter 'disk_car' [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partgptro.c:33:57: warning: unused parameter 'list_part' [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partgptro.c:33:92: warning: unused parameter 'verbose' [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c In file included from ntfs_dir.c:27: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ntfs_dir.c: In function 'ntfs_ucstoutf8': ntfs_dir.c:156:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 156 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ntfs_dir.c: In function 'ntfs_td_list_entry': ntfs_dir.c:172:68: warning: unused parameter 'pos' [-Wunused-parameter] 172 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ntfs_dir.c: In function 'ntfs_dir': ntfs_dir.c:304:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 304 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:304:58: warning: unused parameter 'partition' [-Wunused-parameter] 304 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ntfs_dir.c: In function 'ntfs_copy': ntfs_dir.c:339:38: warning: unused parameter 'disk_car' [-Wunused-parameter] 339 | static copy_file_t ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:339:67: warning: unused parameter 'partition' [-Wunused-parameter] 339 | static copy_file_t ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c In file included from fat_dir.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c In file included from file_list.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_1cd.c: In function 'header_check_1cd': file_1cd.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_1cd.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_1cd.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c In file included from file_3dm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_3dm.c: In function 'header_check_3dm': file_3dm.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3dm.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3ds.o file_3ds.c In file included from file_3ds.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_3ds.c: In function 'header_check_3ds': file_3ds.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3ds.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_7z.c: In function 'header_check_7z': file_7z.c:64:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_7z.c:64:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_7z.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c In file included from file_DB.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_DB.c: In function 'header_check_DB': file_DB.c:51:49: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_DB.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_DB.c:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_DB.c:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c In file included from file_a.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_a.c: In function 'header_check_a': file_a.c:64:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_a.c:64:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_a.c:64:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:23: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ab.c: In function 'header_check_addressbook': file_ab.c:95:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ab.c:95:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ab.c:95:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c In file included from file_abr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_abr.c: In function 'header_check_abr': file_abr.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_abr.c:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c In file included from file_acb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_acb.c: In function 'header_check_acb': file_acb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_acb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_acb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_acb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c In file included from file_ado.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ado.c: In function 'header_check_ado': file_ado.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ado.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ado.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c In file included from file_afdesign.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_afdesign.c: In function 'header_check_afdesign': file_afdesign.c:72:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_afdesign.c:72:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_afdesign.c:72:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c In file included from file_ahn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ahn.c: In function 'header_check_ahn': file_ahn.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ahn.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ahn.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c In file included from file_ace.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ace.c: In function 'header_check_ace': file_ace.c:214:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 214 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ace.c:214:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 214 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ace.c:214:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 214 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c In file included from filegen.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition filegen.c:54:20: warning: redundant redeclaration of 'td_list_add_sorted' [-Wredundant-decls] 54 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from filegen.c:52: list_add_sorted.h:41:20: note: previous definition of 'td_list_add_sorted' with type 'void(struct td_list_head *, struct td_list_head *, int (*)(const struct td_list_head *, const struct td_list_head *))' 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ filegen.c: In function 'data_check_size': filegen.c:450:51: warning: unused parameter 'buffer' [-Wunused-parameter] 450 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c In file included from file_aif.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_aif.c: In function 'header_check_aif': file_aif.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_aif.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_aif.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c In file included from file_als.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_als.c: In function 'header_check_als': file_als.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_als.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_als.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c In file included from file_all.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_all.c: In function 'header_check_all': file_all.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_all.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_all.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_all.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c In file included from file_amd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_amd.c: In function 'header_check_amd': file_amd.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_amd.c: In function 'header_check_amt': file_amd.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c In file included from file_apa.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_apa.c: In function 'header_check_apa': file_apa.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_apa.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apa.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apa.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c In file included from file_amr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_amr.c: In function 'header_check_amr': file_amr.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amr.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amr.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c In file included from file_ape.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ape.c: In function 'header_check_ape': file_ape.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ape.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c In file included from file_apple.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_apple.c: In function 'header_check_apple': file_apple.c:51:52: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_apple.c:51:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apple.c:51:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apple.c:51:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c In file included from file_arj.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_arj.c: In function 'header_check_arj': file_arj.c:141:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 141 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_arj.c:141:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 141 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_arj.c:141:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 141 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c In file included from file_asf.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_asf.c: In function 'header_check_asf': file_asf.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asf.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c In file included from file_asl.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_asl.c: In function 'header_check_asl': file_asl.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_asl.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asl.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asl.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c In file included from file_ari.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ari.c: In function 'header_check_ari': file_ari.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ari.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ari.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c In file included from file_atd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_atd.c: In function 'header_check_atd': file_atd.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_atd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_atd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_atd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c In file included from file_asm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_asm.c: In function 'header_check_asm': file_asm.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asm.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asm.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c In file included from file_au.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_au.c: In function 'header_check_au': file_au.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_au.c:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_au.c:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c In file included from file_axp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_axp.c: In function 'header_check_axp': file_axp.c:102:50: warning: unused parameter 'buffer' [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_axp.c:102:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axp.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axp.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c In file included from file_axx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_axx.c: In function 'header_check_axx': file_axx.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axx.c:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axx.c:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c In file included from file_bdm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bdm.c: In function 'header_check_bdm': file_bdm.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bdm.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bdm.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bdm.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c In file included from file_berkeley.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_berkeley.c: In function 'header_check_berkeley_le': file_berkeley.c:52:58: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_berkeley.c:52:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_berkeley.c:52:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_berkeley.c:52:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c In file included from file_bac.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bac.c: In function 'header_check_bac': file_bac.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bac.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bac.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bfa.o file_bfa.c In file included from file_bfa.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bfa.c: In function 'header_check_bfa': file_bfa.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bfa.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bfa.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c In file included from file_binvox.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_binvox.c: In function 'header_check_binvox': file_binvox.c:52:53: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_binvox.c:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_binvox.c:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_binvox.c:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c In file included from file_bim.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bim.c: In function 'header_check_bim': file_bim.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bim.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bim.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bim.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c In file included from file_bin.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bin.c: In function 'header_check_bin': file_bin.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bin.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bin.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c In file included from file_bkf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bkf.c: In function 'header_check_bkf': file_bkf.c:95:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bkf.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bkf.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bmp.o file_bmp.c In file included from file_bmp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bmp.c: In function 'header_check_bmp': file_bmp.c:102:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 102 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bmp.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bmp.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c In file included from file_bpg.c:29: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bpg.c: In function 'header_check_bpg': file_bpg.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bpg.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c In file included from file_c4d.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_c4d.c: In function 'header_check_c4d': file_c4d.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_c4d.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_c4d.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_c4d.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c In file included from file_bvr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bvr.c: In function 'header_check_bvr': file_bvr.c:82:50: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bvr.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bvr.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c In file included from file_bz2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bz2.c: In function 'header_check_bz2': file_bz2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bz2.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bz2.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c In file included from file_caf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_caf.c: In function 'header_check_caf': file_caf.c:122:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_caf.c:122:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_caf.c:122:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c In file included from file_bld.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_bld.c: In function 'header_check_blend': file_bld.c:243:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 243 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bld.c:243:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 243 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bld.c:243:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 243 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c In file included from file_cab.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cab.c: In function 'header_check_cab': file_cab.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cab.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cab.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c In file included from file_cam.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cam.c: In function 'header_check_cam': file_cam.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cam.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cam.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cam.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c In file included from file_cdt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cdt.c: In function 'header_check_cdt': file_cdt.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cdt.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cdt.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c In file included from file_catdrawing.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_catdrawing.c: In function 'header_check_catdrawing': file_catdrawing.c:52:57: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_catdrawing.c:52:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_catdrawing.c:52:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_catdrawing.c:52:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c In file included from file_chm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_chm.c: In function 'header_check_chm': file_chm.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_chm.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_chm.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c In file included from file_che.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_che.c: In function 'header_check_che': file_che.c:110:50: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_che.c:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_che.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_che.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c In file included from file_class.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_class.c: In function 'header_check_class': file_class.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_class.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_class.c:61:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c In file included from file_compress.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_compress.c: In function 'header_check_compress': file_compress.c:52:55: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_compress.c:52:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_compress.c:52:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_compress.c:52:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_clip.o file_clip.c In file included from file_clip.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_clip.c: In function 'header_check_clip': file_clip.c:98:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_clip.c:98:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_clip.c:98:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c In file included from file_cm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cm.c: In function 'header_check_cm': file_cm.c:52:49: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cm.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cm.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cm.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c In file included from file_cow.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cow.c: In function 'header_check_qcow1': file_cow.c:86:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:86:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:86:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c: In function 'header_check_qcow2': file_cow.c:106:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:106:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:106:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c In file included from file_cpi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cpi.c: In function 'header_check_cpi': file_cpi.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cpi.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cpi.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cpi.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c In file included from file_csh.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_csh.c: In function 'header_check_csh': file_csh.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_csh.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_csh.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_csh.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c In file included from file_ctg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ctg.c: In function 'header_check_ctg': file_ctg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ctg.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ctg.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ctg.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c In file included from file_crw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_crw.c: In function 'header_check_crw': file_crw.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_crw.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_crw.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c In file included from file_cwk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_cwk.c: In function 'header_check_cwk': file_cwk.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cwk.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cwk.c:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c In file included from file_d2s.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_d2s.c: In function 'header_check_d2s': file_d2s.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_d2s.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_d2s.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c In file included from file_dar.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dar.c: In function 'header_check_dar': file_dar.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dar.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dar.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c In file included from file_dbf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dbf.c: In function 'header_check_dbf': file_dbf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c In file included from file_dbn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dbn.c: In function 'header_check_dbn': file_dbn.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbn.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbn.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c In file included from file_dad.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dad.c: In function 'header_check_dad': file_dad.c:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dad.c:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 98 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c In file included from file_dat.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dat.c: In function 'header_check_dat': file_dat.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dat.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_datIE': file_dat.c:67:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:67:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:67:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_dat_history4': file_dat.c:88:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:88:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:88:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_dat_history10': file_dat.c:105:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:105:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:105:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c In file included from file_dcm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dcm.c: In function 'header_check_dcm': file_dcm.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dcm.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dcm.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dcm.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c In file included from file_ddf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ddf.c: In function 'header_check_ddf3': file_ddf.c:111:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:111:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:111:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function 'header_check_ddf4': file_ddf.c:128:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:128:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:128:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function 'header_check_ddf5': file_ddf.c:145:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:145:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:145:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c In file included from file_dex.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dex.c: In function 'header_check_dex': file_dex.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dex.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dex.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c In file included from file_dim.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dim.c: In function 'header_check_dim': file_dim.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dim.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dim.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dim.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c In file included from file_dmp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dmp.c: In function 'header_check_dmp': file_dmp.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dmp.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dmp.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c In file included from file_dir.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dir.c: In function 'data_check_fatdir': file_dir.c:87:60: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dir.c: In function 'header_check_dir': file_dir.c:101:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 101 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dir.c:101:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 101 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dir.c:101:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 101 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c In file included from file_djv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_djv.c: In function 'header_check_djv': file_djv.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_djv.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_djv.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dovecot.o file_dovecot.c In file included from file_dovecot.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dovecot.c: In function 'header_check_dovecot': file_dovecot.c:108:54: warning: unused parameter 'buffer' [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dovecot.c:108:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dovecot.c:108:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c In file included from file_dpx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dpx.c: In function 'header_check_dpx': file_dpx.c:91:66: warning: pointer targets in passing argument 1 of 'get_time_from_YYYY_MM_DD_HH_MM_SS' differ in signedness [-Wpointer-sign] 91 | file_recovery_new->time=get_time_from_YYYY_MM_DD_HH_MM_SS(dpx->create_time); | ~~~^~~~~~~~~~~~~ | | | const char * In file included from file_dpx.c:35: filegen.h:452:63: note: expected 'const unsigned char *' but argument is of type 'const char *' 452 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ file_dpx.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dpx.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dpx.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw2.o file_drw2.c In file included from file_drw2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_drw2.c: In function 'header_check_drw2': file_drw2.c:53:51: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_drw2.c:53:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw2.c:53:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw2.c:53:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c In file included from file_drw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_drw.c: In function 'header_check_drw': file_drw.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c In file included from file_ds2.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ds2.c: In function 'header_check_ds2': file_ds2.c:81:54: warning: pointer targets in passing argument 1 of 'get_time_from_YYMMDDHHMMSS' differ in signedness [-Wpointer-sign] 81 | file_recovery_new->time=get_time_from_YYMMDDHHMMSS(date_asc); | ^~~~~~~~ | | | const unsigned char * In file included from file_ds2.c:35: filegen.h:446:47: note: expected 'const char *' but argument is of type 'const unsigned char *' 446 | time_t get_time_from_YYMMDDHHMMSS(const char *date_asc); | ~~~~~~~~~~~~^~~~~~~~ file_ds2.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds2.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds2.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c In file included from file_dsc.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dsc.c: In function 'header_check_dsc': file_dsc.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dsc.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dsc.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c In file included from file_ds_store.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ds_store.c: In function 'header_check_ds_store': file_ds_store.c:64:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds_store.c:64:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds_store.c:64:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c In file included from file_dss.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dss.c: In function 'header_check_dss': file_dss.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dss.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dss.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c In file included from file_dst.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dst.c: In function 'header_check_dst': file_dst.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dst.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dst.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c In file included from file_dvi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dvi.c: In function 'header_check_dvi': file_dvi.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvi.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dvi.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c In file included from file_dta.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dta.c: In function 'header_check_dta': file_dta.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dta.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dta.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dta.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c In file included from file_dump.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dump.c: In function 'header_check_dump': file_dump.c:135:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 135 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dump.c:135:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 135 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dump.c:135:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 135 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c In file included from file_dv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dv.c: In function 'header_check_dv': file_dv.c:219:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 219 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dv.c:219:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 219 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c In file included from file_dvr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dvr.c: In function 'header_check_dvr': file_dvr.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvr.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c In file included from file_dwg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dwg.c: In function 'header_check_dwg': file_dwg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dwg.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dwg.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dwg.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c In file included from file_e01.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_e01.c: In function 'header_check_e01': file_e01.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_e01.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_e01.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c In file included from file_dxf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_dxf.c: In function 'header_check_dxf': file_dxf.c:96:50: warning: unused parameter 'buffer' [-Wunused-parameter] 96 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dxf.c:96:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dxf.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dxf.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c In file included from file_edb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_edb.c: In function 'header_check_edb': file_edb.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_edb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_edb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c In file included from file_ecryptfs.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ecryptfs.c: In function 'header_check_ecryptfs': file_ecryptfs.c:80:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ecryptfs.c:80:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ecryptfs.c:80:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c In file included from file_emf.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_emf.c: In function 'header_check_emf': file_emf.c:383:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 383 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_emf.c:383:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 383 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c In file included from file_ess.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ess.c: In function 'header_check_ess': file_ess.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ess.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ess.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ess.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c In file included from file_elf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_elf.c: In function 'header_check_elf32_lsb': file_elf.c:129:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:129:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:129:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_elf.c: In function 'header_check_elf32_msb': file_elf.c:153:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:153:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:153:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_elf.c: In function 'header_check_elf64_lsb': file_elf.c:177:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:177:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:177:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_elf.c: In function 'header_check_elf64_msb': file_elf.c:201:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:201:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:201:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c In file included from file_evt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_evt.c: In function 'header_check_evt': file_evt.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evt.c:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evt.c:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c In file included from file_evtx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_evtx.c: In function 'header_check_evtx': file_evtx.c:70:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evtx.c:70:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evtx.c:70:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exr.o file_exr.c In file included from file_exr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_exr.c: In function 'header_check_exr': file_exr.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_exr.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exr.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exr.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c In file included from file_doc.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_doc.c: In function 'header_check_doc': file_doc.c:1812:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1812 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_doc.c:1812:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1812 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c In file included from file_exs.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_exs.c: In function 'header_check_exs': file_exs.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exs.c:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exs.c:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c In file included from file_ext2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ext2.c: In function 'header_check_ext2_fs': file_ext2.c:54:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext2.c:54:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c In file included from file_fat.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fat.c: In function 'header_check_fat': file_fat.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fat.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fat.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c In file included from file_fbf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fbf.c: In function 'header_check_fbf': file_fbf.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbf.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbf.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbf.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbx.o file_fbx.c In file included from file_fbx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fbx.c: In function 'header_check_fbx': file_fbx.c:65:50: warning: unused parameter 'buffer' [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbx.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbx.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbx.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c In file included from file_fcp.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fcp.c: In function 'header_check_fcp': file_fcp.c:57:50: warning: unused parameter 'buffer' [-Wunused-parameter] 57 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fcp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fcp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c In file included from file_exe.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_exe.c: In function 'header_check_exe': file_exe.c:746:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 746 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exe.c:746:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 746 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c In file included from file_fbk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fbk.c: In function 'header_check_fbk': file_fbk.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbk.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbk.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbk.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c In file included from file_fdb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fdb.c: In function 'header_check_fdb': file_fdb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fdb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fdb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c In file included from file_ext.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ext.c: In function 'header_check_ext2_sb': file_ext.c:88:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:88:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:88:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function 'data_check_extdir': file_ext.c:109:60: warning: unused parameter 'buffer' [-Wunused-parameter] 109 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ext.c: In function 'header_check_ext2_dir': file_ext.c:152:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:152:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:152:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c In file included from file_filevault.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_filevault.c: In function 'header_check_filevault': file_filevault.c:52:56: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_filevault.c:52:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_filevault.c:52:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_filevault.c:52:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c In file included from file_fh5.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fh5.c: In function 'header_check_fh5': file_fh5.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh5.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh5.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c In file included from file_fds.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fds.c: In function 'header_check_fds': file_fds.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fds.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fds.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c In file included from file_fh10.c:27: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fh10.c: In function 'header_check_fh10': file_fh10.c:54:51: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fh10.c:54:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh10.c:54:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh10.c:54:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c In file included from file_fcs.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fcs.c: In function 'header_check_fcs': file_fcs.c:137:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 137 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcs.c:137:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 137 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c In file included from file_fits.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fits.c: In function 'header_check_fits': file_fits.c:228:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 228 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fits.c:228:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 228 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c In file included from file_fit.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fit.c: In function 'header_check_fit': file_fit.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fit.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fit.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c In file included from file_flac.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_flac.c: In function 'header_check_flac': file_flac.c:96:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flac.c:96:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flac.c:96:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c In file included from file_flp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_flp.c: In function 'header_check_flp': file_flp.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flp.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flp.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c In file included from file_fm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fm.c: In function 'header_check_fm': file_fm.c:60:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fm.c:60:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fm.c:60:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c In file included from file_flv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_flv.c: In function 'header_check_flv': file_flv.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 119 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flv.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flv.c:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c In file included from file_fob.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fob.c: In function 'header_check_fob': file_fob.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fob.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c In file included from file_fos.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fos.c: In function 'header_check_fos': file_fos.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fos.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fos.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fos.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c In file included from file_fp5.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fp5.c: In function 'header_check_fp5': file_fp5.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fp5.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fp5.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp5.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c In file included from file_fp7.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fp7.c: In function 'header_check_fp7': file_fp7.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp7.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c In file included from file_freeway.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_freeway.c: In function 'header_check_freeway': file_freeway.c:52:54: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_freeway.c:52:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_freeway.c:52:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_freeway.c:52:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_frm.o file_frm.c In file included from file_frm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_frm.c: In function 'header_check_frm': file_frm.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_frm.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_frm.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c In file included from file_fs.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fs.c: In function 'header_check_fs': file_fs.c:107:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fs.c:107:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fs.c:107:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c In file included from file_fwd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fwd.c: In function 'header_check_fwd': file_fwd.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fwd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fwd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fwd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fxp.o file_fxp.c In file included from file_fxp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_fxp.c: In function 'header_check_fxp': file_fxp.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fxp.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fxp.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c In file included from file_gam.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gam.c: In function 'header_check_gam': file_gam.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gam.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gam.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gam.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c In file included from file_gct.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gct.c: In function 'header_check_gct': file_gct.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gct.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gct.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gct.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c In file included from file_gho.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gho.c: In function 'header_check_ghost': file_gho.c:53:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gho.c:53:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gho.c:53:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c In file included from file_gi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gi.c: In function 'header_check_gi': file_gi.c:60:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gi.c:60:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gi.c:60:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c In file included from file_gm6.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gm6.c: In function 'header_check_gm81': file_gm6.c:53:51: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:53:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:53:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:53:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gmk': file_gm6.c:67:50: warning: unused parameter 'buffer' [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gm6': file_gm6.c:81:50: warning: unused parameter 'buffer' [-Wunused-parameter] 81 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gmd': file_gm6.c:95:50: warning: unused parameter 'buffer' [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:95:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c In file included from file_gp5.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gp5.c: In function 'header_check_gp5': file_gp5.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp5.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp5.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c In file included from file_gif.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gif.c: In function 'header_check_gif': file_gif.c:200:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 200 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gif.c:200:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 200 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c In file included from file_gp2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gp2.c: In function 'header_check_gp2': file_gp2.c:67:50: warning: unused parameter 'buffer' [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gp2.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp2.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp2.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c In file included from file_gpx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gpx.c: In function 'header_check_gpx': file_gpx.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gpx.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpx.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c In file included from file_gsm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gsm.c: In function 'header_check_gsm': file_gsm.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gsm.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c In file included from file_hdr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hdr.c: In function 'header_check_hdr': file_hdr.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdr.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c In file included from file_hm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hm.c: In function 'header_check_hm': file_hm.c:52:49: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hm.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hm.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hm.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c In file included from file_gpg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gpg.c: In function 'header_check_gpg': file_gpg.c:540:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 540 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpg.c:540:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 540 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf5.o file_hdf5.c In file included from file_hdf5.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hdf5.c: In function 'header_check_hdf5': file_hdf5.c:66:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf5.c:66:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf5.c:66:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c In file included from file_hr9.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hr9.c: In function 'header_check_hr9': file_hr9.c:63:50: warning: unused parameter 'buffer' [-Wunused-parameter] 63 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hr9.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hr9.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hr9.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c In file included from file_hds.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hds.c: In function 'header_check_hds': file_hds.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hds.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hds.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c In file included from file_http.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_http.c: In function 'header_check_http': file_http.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_http.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_http.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_http.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c In file included from file_gz.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_gz.c: In function 'file_check_bgzf': file_gz.c:126:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gz.c: In function 'header_check_bgzf': file_gz.c:141:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 141 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gz.c: In function 'header_check_gz': file_gz.c:251:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 251 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_gz.c:182:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 182 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c In file included from file_hdf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hdf.c: In function 'header_check_hdf': file_hdf.c:170:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 170 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf.c:170:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 170 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf.c:170:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 170 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c In file included from file_hfsp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_hfsp.c: In function 'header_check_hfsp': file_hfsp.c:55:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hfsp.c:55:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hfsp.c:55:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c In file included from file_ibd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ibd.c: In function 'header_check_ibd': file_ibd.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ibd.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c In file included from file_icc.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_icc.c: In function 'header_check_icc': file_icc.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icc.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icc.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c In file included from file_ico.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ico.c: In function 'header_check_ico': file_ico.c:89:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 89 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ico.c:89:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 89 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c In file included from file_ifo.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ifo.c: In function 'header_check_ifo': file_ifo.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ifo.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ifo.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c In file included from file_icns.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_icns.c: In function 'header_check_icns': file_icns.c:112:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icns.c:112:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icns.c:112:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c In file included from file_idx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_idx.c: In function 'header_check_idx': file_idx.c:79:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 79 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_idx.c:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 79 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c In file included from file_imb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_imb.c: In function 'header_check_imb': file_imb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_imb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_imb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_imb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c In file included from file_indd.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_indd.c: In function 'header_check_indd': file_indd.c:144:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 144 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_indd.c:144:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 144 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c In file included from file_info.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_info.c: In function 'header_check_info': file_info.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_info.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_info.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_info.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c In file included from file_iso.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_iso.c: In function 'header_check_iso': file_iso.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_iso.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c In file included from file_it.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_it.c: In function 'header_check_it': file_it.c:80:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_it.c:80:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_it.c:80:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c In file included from file_itu.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_itu.c: In function 'header_check_itunes': file_itu.c:53:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_itu.c:53:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_itu.c:53:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c In file included from file_jsonlz4.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_jsonlz4.c: In function 'header_check_jsonlz4': file_jsonlz4.c:54:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jsonlz4.c:54:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jsonlz4.c:54:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c In file included from file_kdbx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_kdbx.c: In function 'header_check_kdbx': file_kdbx.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdbx.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdbx.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdbx.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c In file included from file_jks.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_jks.c: In function 'header_check_jks': file_jks.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jks.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jks.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c In file included from file_kdb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_kdb.c: In function 'header_check_kdb': file_kdb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c In file included from file_key.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_key.c: In function 'header_check_key': file_key.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_key.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_key.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_key.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c In file included from file_ldf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ldf.c: In function 'header_check_ldf': file_ldf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ldf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ldf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c In file included from file_lit.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lit.c: In function 'header_check_lit': file_lit.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lit.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lit.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lit.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c In file included from file_logic.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_logic.c: In function 'header_check_logic': file_logic.c:52:52: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_logic.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_logic.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_logic.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c In file included from file_lso.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lso.c: In function 'header_check_lso': file_lso.c:65:50: warning: unused parameter 'buffer' [-Wunused-parameter] 65 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lso.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lso.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lso.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c In file included from file_lnk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lnk.c: In function 'header_check_lnk': file_lnk.c:234:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 234 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lnk.c:234:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 234 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c In file included from file_luks.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_luks.c: In function 'header_check_luks': file_luks.c:56:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_luks.c:56:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_luks.c:56:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c In file included from file_lxo.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lxo.c: In function 'header_check_lxo': file_lxo.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lxo.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lxo.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c In file included from file_lzo.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lzo.c: In function 'header_check_lzo': file_lzo.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lzo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzo.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c In file included from file_mat.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mat.c: In function 'header_check_mat': file_mat.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mat.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mat.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lz.o file_lz.c In file included from file_lz.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lz.c: In function 'header_check_lz': file_lz.c:52:49: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lz.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lz.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lz.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c In file included from file_max.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_max.c: In function 'header_check_max': file_max.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_max.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_max.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_max.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c In file included from file_mb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mb.c: In function 'header_check_mb': file_mb.c:61:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:61:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:61:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mb.c: In function 'header_check_mp': file_mb.c:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c In file included from file_mcd.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mcd.c: In function 'header_check_mcd': file_mcd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mcd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mcd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c In file included from file_lzh.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_lzh.c: In function 'header_check_lzh': file_lzh.c:136:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzh.c:136:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzh.c:136:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdp.o file_mdp.c In file included from file_mdp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mdp.c: In function 'header_check_mdp': file_mdp.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdp.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdp.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c In file included from file_m2ts.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_m2ts.c: In function 'header_check_m2ts': file_m2ts.c:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 157 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_m2ts.c: In function 'header_check_m2t': file_m2ts.c:240:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 240 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c In file included from file_mdb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mdb.c: In function 'header_check_accdb': file_mdb.c:63:52: warning: unused parameter 'buffer' [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:63:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:63:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:63:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mdb.c: In function 'header_check_mdb': file_mdb.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c In file included from file_mfg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mfg.c: In function 'header_check_mfg': file_mfg.c:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfg.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfg.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfg.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c In file included from file_mdf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mdf.c: In function 'header_check_mdf': file_mdf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c In file included from file_mfa.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mfa.c: In function 'header_check_mfa': file_mfa.c:64:50: warning: unused parameter 'buffer' [-Wunused-parameter] 64 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfa.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfa.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfa.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c In file included from file_mft.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mft.c: In function 'header_check_mft': file_mft.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mft.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mft.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c In file included from file_mid.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mid.c: In function 'header_check_mid': file_mid.c:147:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 147 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mid.c:147:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 147 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mid.c:147:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 147 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c In file included from file_mk5.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mk5.c: In function 'header_check_mk5': file_mk5.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mk5.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mk5.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c In file included from file_mig.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mig.c: In function 'header_check_mig': file_mig.c:123:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mig.c:123:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mig.c:123:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c In file included from file_mobi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mobi.c: In function 'header_check_mobi': file_mobi.c:74:51: warning: unused parameter 'buffer' [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mobi.c:74:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mobi.c:74:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mobi.c:74:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c In file included from file_mkv.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mkv.c: In function 'header_check_mkv': file_mkv.c:193:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 193 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mkv.c:193:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 193 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c In file included from file_mlv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mlv.c: In function 'header_check_mlv': file_mlv.c:203:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mlv.c:203:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mlv.c:203:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c In file included from file_mpl.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mpl.c: In function 'header_check_mpl': file_mpl.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mpl.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mpl.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpl.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c In file included from file_mrw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mrw.c: In function 'header_check_mrw': file_mrw.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mrw.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mrw.c:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c In file included from file_msa.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_msa.c: In function 'header_check_msa': file_msa.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_msa.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c In file included from file_mus.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mus.c: In function 'header_check_mus': file_mus.c:65:50: warning: unused parameter 'buffer' [-Wunused-parameter] 65 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mus.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mus.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mus.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c In file included from file_mp3.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mp3.c: In function 'header_check_id3': file_mp3.c:462:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 462 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mp3.c:462:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 462 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mp3.c:462:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 462 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mp3.c: In function 'header_check_mp3': file_mp3.c:509:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 509 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c In file included from file_mpg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mpg.c: In function 'header_check_mpg_Pack': file_mpg.c:227:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 227 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg_System': file_mpg.c:295:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 295 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg_Sequence': file_mpg.c:339:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 339 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg4_ElemVideo': file_mpg.c:376:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 376 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c In file included from file_myo.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_myo.c: In function 'header_check_myo': file_myo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_myo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c In file included from file_mov.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mov.c: In function 'header_check_mov_aux': file_mov.c:246:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 246 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c In file included from file_mysql.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mysql.c: In function 'header_check_myisam': file_mysql.c:54:53: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mysql.c:54:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mysql.c:54:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mysql.c:54:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mysql.c: In function 'header_check_mysql': file_mysql.c:69:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mysql.c:69:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mysql.c:69:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c In file included from file_mxf.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_mxf.c: In function 'get_mxf_size': file_mxf.c:80:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static uint64_t get_mxf_size(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int i) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c: In function 'header_check_mxf': file_mxf.c:139:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 139 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c:139:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 139 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mxf.c:139:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 139 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c In file included from file_nd2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_nd2.c: In function 'header_check_nd2': file_nd2.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nd2.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nd2.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c In file included from file_nds.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_nds.c: In function 'header_check_nds': file_nds.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nds.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nds.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c In file included from file_nes.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_nes.c: In function 'header_check_nes': file_nes.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nes.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nes.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c In file included from file_njx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_njx.c: In function 'header_check_njx': file_njx.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_njx.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_njx.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c In file included from file_jpg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_jpg.c: In function 'header_check_jpg': file_jpg.c:882:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 882 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jpg.c: In function 'my_output_message': file_jpg.c:1083:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 1083 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'jpg_term_source': file_jpg.c:1274:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 1274 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'jpg_find_error': file_jpg.c:1600:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1600 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_jpg.c: In function 'jpg_check_sof0': file_jpg.c:1951:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1951 | if(length < 8+h->nbr*3) | ^ file_jpg.c: In function 'jpg_save_thumbnail': file_jpg.c:2058:105: warning: unused parameter 'nbytes' [-Wunused-parameter] 2058 | static void jpg_save_thumbnail(const file_recovery_t *file_recovery, const char *buffer, const uint64_t nbytes, const uint64_t thumb_offset, const unsigned int thumb_size) | ~~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c In file included from file_nsf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_nsf.c: In function 'header_check_nsf': file_nsf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nsf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nsf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c In file included from file_oci.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_oci.c: In function 'header_check_oci': file_oci.c:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_oci.c:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_one.o file_one.c In file included from file_one.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_one.c: In function 'header_check_one': file_one.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_one.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_one.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c In file included from file_orf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_orf.c: In function 'header_check_orf_IIRS': file_orf.c:53:55: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_orf.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_orf.c:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_orf.c: In function 'header_check_orf_IIRO': file_orf.c:66:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:66:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pa.o file_pa.c In file included from file_pa.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pa.c: In function 'header_check_pa': file_pa.c:58:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pa.c:58:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pa.c:58:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c In file included from file_nk2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_nk2.c: In function 'header_check_nk2': file_nk2.c:262:50: warning: unused parameter 'buffer' [-Wunused-parameter] 262 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_nk2.c:262:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 262 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nk2.c:262:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 262 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nk2.c:262:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 262 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c In file included from file_ogg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ogg.c: In function 'header_check_ogg': file_ogg.c:108:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ogg.c:108:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c In file included from file_paf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_paf.c: In function 'header_check_paf': file_paf.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_paf.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_paf.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_paf.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c In file included from file_pap.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pap.c: In function 'header_check_pap': file_pap.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pap.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pap.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pap.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c In file included from file_pcap.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pcap.c: In function 'header_check_pcap': file_pcap.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcap.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcap.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcap.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c In file included from file_par2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_par2.c: In function 'header_check_par2': file_par2.c:141:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 141 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_par2.c:141:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 141 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c In file included from file_pcb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pcb.c: In function 'header_check_pcb': file_pcb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c In file included from file_pct.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pct.c: In function 'header_check_pct': file_pct.c:111:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pct.c:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c In file included from file_pcx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pcx.c: In function 'header_check_pcx': file_pcx.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcx.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcx.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c In file included from file_pdb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pdb.c: In function 'header_check_pdb': file_pdb.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pdb.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdb.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c In file included from file_pds.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pds.c: In function 'header_check_pds': file_pds.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pds.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pds.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c In file included from file_pfx.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pfx.c: In function 'header_check_pfx': file_pfx.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pfx.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pfx.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c In file included from file_pf.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pf.c: In function 'header_check_pf': file_pf.c:103:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pf.c:103:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pf.c:103:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c In file included from file_pgdump.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pgdump.c: In function 'header_check_pgdump': file_pgdump.c:105:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pgdump.c:105:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:105:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c In file included from file_plist.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_plist.c: In function 'header_check_plist': file_plist.c:56:52: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plist.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plist.c:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c In file included from file_plt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_plt.c: In function 'header_check_plt': file_plt.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plt.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plt.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plt.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c In file included from file_plr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_plr.c: In function 'header_check_plr': file_plr.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plr.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plr.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plr.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c In file included from file_pnm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pnm.c: In function 'header_check_pbm': file_pnm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function 'header_check_pgm': file_pnm.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function 'header_check_ppm': file_pnm.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c In file included from file_prc.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_prc.c: In function 'header_check_prc': file_prc.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prc.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prc.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c In file included from file_prt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_prt.c: In function 'header_check_prt': file_prt.c:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_prt.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prt.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prt.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c In file included from file_prd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_prd.c: In function 'header_check_prd': file_prd.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prd.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prd.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c In file included from file_ps.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ps.c: In function 'file_check_ps': file_ps.c:58:36: warning: initializer-string for array of 'unsigned char' is too long for C++ [-Wc++-compat] 58 | const unsigned char ps_footer[5]="%%EOF"; | ^~~~~~~ file_ps.c: In function 'header_check_ps': file_ps.c:118:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 118 | if(i+5 <= buffer_size && memcmp(&buffer[i],"EPSF-",5)==0) | ^~ file_ps.c:97:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ps.c:97:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c In file included from file_pdf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pdf.c: In function 'file_rename_pdf': file_pdf.c:119:13: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 119 | if(offset > PHOTOREC_MAX_FILE_SIZE) | ^ file_pdf.c: In function 'header_check_pdf': file_pdf.c:472:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 472 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdf.c:472:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 472 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c In file included from file_psf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_psf.c: In function 'header_check_psf': file_psf.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psf.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c In file included from file_png.c:31: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_png.c: In function 'header_check_jng': file_png.c:265:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:265:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:265:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function 'header_check_mng': file_png.c:294:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:294:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:294:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function 'header_check_png': file_png.c:323:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 323 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:323:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 323 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c In file included from file_psb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_psb.c: In function 'psb_skip_image_data': file_psb.c:93:62: warning: unused parameter 'buffer' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psb.c:93:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c: In function 'header_check_psb': file_psb.c:216:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c:216:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psb.c:216:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c In file included from file_psp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_psp.c: In function 'header_check_psp': file_psp.c:89:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psp.c:89:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:89:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c In file included from file_psd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_psd.c: In function 'psd_skip_image_data': file_psd.c:83:62: warning: unused parameter 'buffer' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psd.c:83:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c: In function 'header_check_psd': file_psd.c:205:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c:205:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psd.c:205:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c In file included from file_ptb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ptb.c: In function 'header_check_ptb': file_ptb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptb.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c In file included from file_pst.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pst.c: In function 'header_check_dbx': file_pst.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function 'header_check_wab': file_pst.c:106:50: warning: unused parameter 'buffer' [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pst.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function 'header_check_pst': file_pst.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c In file included from file_ptf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ptf.c: In function 'header_check_ptf': file_ptf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c In file included from file_pzf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pzf.c: In function 'header_check_pzf': file_pzf.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzf.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzf.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzf.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c In file included from file_pyc.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pyc.c: In function 'header_check_pyc': file_pyc.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pyc.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pyc.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c In file included from file_pzh.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_pzh.c: In function 'header_check_pzh': file_pzh.c:82:50: warning: unused parameter 'buffer' [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzh.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzh.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzh.c:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c In file included from file_qdf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_qdf.c: In function 'header_check_qdf': file_qdf.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qdf.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qdf.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c In file included from file_qkt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_qkt.c: In function 'header_check_qkt': file_qkt.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qkt.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qkt.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qkt.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c In file included from file_qbb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_qbb.c: In function 'header_check_qbb': file_qbb.c:137:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 137 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:137:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 137 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function 'header_check_qbw': file_qbb.c:189:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:189:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:189:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function 'header_check_qbw2': file_qbb.c:211:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:211:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:211:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c In file included from file_qxd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_qxd.c: In function 'header_check_qxd': file_qxd.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qxd.c: In function 'header_check_qxp': file_qxd.c:66:50: warning: unused parameter 'buffer' [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c In file included from file_ra.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ra.c: In function 'header_check_ra': file_ra.c:97:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ra.c:97:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ra.c:97:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c In file included from file_rar.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rar.c: In function 'header_check_rar15fmt': file_rar.c:69:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:69:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:69:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rar.c: In function 'header_check_rar50fmt': file_rar.c:99:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:99:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:99:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c In file included from file_r3d.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_r3d.c: In function 'header_check_r3d': file_r3d.c:144:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:144:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:144:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_r3d.c: In function 'header_check_r3d_v2': file_r3d.c:171:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:171:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:171:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c In file included from file_raw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_raw.c: In function 'header_check_raw': file_raw.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_raw.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raw.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raw.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c In file included from file_raf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_raf.c: In function 'header_check_raf': file_raf.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raf.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raf.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c In file included from file_rdc.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rdc.c: In function 'header_check_rdc': file_rdc.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rdc.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rdc.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rdc.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c In file included from file_reg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_reg.c: In function 'header_check_reg_9x': file_reg.c:81:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:81:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_reg.c: In function 'header_check_reg_nt': file_reg.c:122:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_reg.c:122:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:122:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c In file included from file_res.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_res.c: In function 'header_check_res': file_res.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_res.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_res.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_res.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c In file included from file_rfp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rfp.c: In function 'header_check_rfp': file_rfp.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rfp.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rfp.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rfp.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c In file included from file_rlv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rlv.c: In function 'header_check_rlv': file_rlv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rlv.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rlv.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c In file included from file_rns.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rns.c: In function 'header_check_rns': file_rns.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rns.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rns.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rns.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c In file included from file_rm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rm.c: In function 'header_check_rm': file_rm.c:63:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rm.c:63:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rm.c:63:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c In file included from file_riff.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_riff.c: In function 'header_check_riff': file_riff.c:307:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 307 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:307:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 307 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_riff.c: In function 'header_check_rifx': file_riff.c:415:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_riff.c:415:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:415:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c In file included from file_rw2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rw2.c: In function 'header_check_rw2': file_rw2.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rw2.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sdsk.o file_sdsk.c In file included from file_sdsk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sdsk.c: In function 'header_check_sdsk': file_sdsk.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sdsk.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sdsk.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sdsk.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c In file included from file_rpm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rpm.c: In function 'header_check_rpm': file_rpm.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rpm.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rpm.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c In file included from file_rx2.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_rx2.c: In function 'header_check_rx2': file_rx2.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rx2.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rx2.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c In file included from file_save.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_save.c: In function 'header_check_save': file_save.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_save.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_save.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_save.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sdw.o file_sdw.c In file included from file_sdw.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sdw.c: In function 'header_check_sdw': file_sdw.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sdw.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sdw.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sdw.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c In file included from file_sgcta.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sgcta.c: In function 'header_check_sgcta': file_sgcta.c:52:52: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sgcta.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sgcta.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sgcta.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c In file included from file_ses.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ses.c: In function 'header_check_ses': file_ses.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ses.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ses.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ses.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c In file included from file_shn.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_shn.c: In function 'header_check_shn': file_shn.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_shn.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shn.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shn.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shp.o file_shp.c In file included from file_shp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_shp.c: In function 'header_check_shp': file_shp.c:99:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shp.c:99:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shp.c:99:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c In file included from file_sib.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sib.c: In function 'header_check_sib': file_sib.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sib.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sib.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sib.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c In file included from file_sit.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sit.c: In function 'header_check_sit': file_sit.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sit.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sit.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sit.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c In file included from file_skd.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_skd.c: In function 'header_check_skd': file_skd.c:51:50: warning: unused parameter 'buffer' [-Wunused-parameter] 51 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skd.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skd.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skd.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c In file included from file_snag.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_snag.c: In function 'header_check_snag': file_snag.c:63:51: warning: unused parameter 'buffer' [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_snag.c:63:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_snag.c:63:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_snag.c:63:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c In file included from file_skp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_skp.c: In function 'header_check_skp': file_skp.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skp.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skp.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skp.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c In file included from file_spss.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_spss.c: In function 'header_check_spss': file_spss.c:52:51: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spss.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spss.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spss.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c In file included from file_spe.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_spe.c: In function 'header_check_spe': file_spe.c:280:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 280 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spe.c:280:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 280 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c In file included from file_sqm.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sqm.c: In function 'header_check_sqm': file_sqm.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sqm.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sqm.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sqm.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c In file included from file_sql.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sql.c: In function 'header_check_sqlite': file_sql.c:82:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sql.c:82:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sql.c:82:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c In file included from file_steuer2014.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_steuer2014.c: In function 'header_check_steuer': file_steuer2014.c:74:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_steuer2014.c:74:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_steuer2014.c:74:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c In file included from file_spf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_spf.c: In function 'header_check_spf': file_spf.c:121:50: warning: unused parameter 'buffer' [-Wunused-parameter] 121 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spf.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spf.c:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spf.c:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c In file included from file_stl.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_stl.c: In function 'header_check_stl': file_stl.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stl.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stl.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c In file included from file_stu.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_stu.c: In function 'header_check_stuffit': file_stu.c:53:54: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_stu.c:53:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stu.c:53:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stu.c:53:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c In file included from file_sp3.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sp3.c: In function 'header_check_sp3': file_sp3.c:131:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 131 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sp3.c:131:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 131 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sp3.c:131:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 131 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c In file included from file_studio.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_studio.c: In function 'header_check_studio': file_studio.c:61:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_studio.c:61:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_studio.c:61:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c In file included from file_sig.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_sig.c:53:20: warning: redundant redeclaration of 'td_list_add_sorted' [-Wredundant-decls] 53 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from file_sig.c:51: list_add_sorted.h:41:20: note: previous definition of 'td_list_add_sorted' with type 'void(struct td_list_head *, struct td_list_head *, int (*)(const struct td_list_head *, const struct td_list_head *))' 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ file_sig.c: In function 'header_check_sig': file_sig.c:240:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 240 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sig.c:240:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 240 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sig.c:240:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 240 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c In file included from file_tax.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tax.c: In function 'header_check_tax': file_tax.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tax.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tax.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tax.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c In file included from file_tar.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tar.c: In function 'header_check_tar': file_tar.c:117:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 117 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tar.c:117:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 117 | static int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c In file included from file_swf.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_swf.c: In function 'header_check_swfc': file_swf.c:156:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 156 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_swf.c:131:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 131 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:131:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 131 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function 'header_check_swf': file_swf.c:215:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 215 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:215:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 215 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:215:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 215 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function 'header_check_swfz': file_swf.c:260:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:260:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:260:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c In file included from file_tg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tg.c: In function 'header_check_tg': file_tg.c:52:49: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tg.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tg.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tg.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c In file included from file_tivo.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tivo.c: In function 'header_check_tivo': file_tivo.c:68:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tivo.c:68:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tivo.c:68:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c In file included from file_torrent.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_torrent.c: In function 'header_check_torrent': file_torrent.c:53:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_torrent.c:53:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_torrent.c:53:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c In file included from file_tpl.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tpl.c: In function 'header_check_tpl': file_tpl.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tpl.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tpl.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tpl.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c In file included from file_tiff.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tph.o file_tph.c In file included from file_tph.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tph.c: In function 'header_check_tph': file_tph.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tph.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 70 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tph.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 70 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c In file included from file_ttf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_ttf.c: In function 'header_check_ttf': file_ttf.c:108:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 108 | if((16<: note: this is the location of the previous definition file_tib.c: In function 'header_check_tib': file_tib.c:147:50: warning: unused parameter 'buffer' [-Wunused-parameter] 147 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:147:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 147 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:147:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 147 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:147:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 147 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tib.c: In function 'header_check_tib2': file_tib.c:161:51: warning: unused parameter 'buffer' [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:161:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:161:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:161:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c In file included from file_tz.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tz.c: In function 'header_check_tz': file_tz.c:56:49: warning: unused parameter 'buffer' [-Wunused-parameter] 56 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tz.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tz.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tz.c:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c In file included from file_v2i.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_v2i.c: In function 'header_check_v2i': file_v2i.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_v2i.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_v2i.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c In file included from file_vault.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vault.c: In function 'header_check_vault': file_vault.c:88:52: warning: unused parameter 'buffer' [-Wunused-parameter] 88 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vault.c:88:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vault.c:88:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vault.c:88:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c In file included from file_vdi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vdi.c: In function 'header_check_vdi': file_vdi.c:91:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 91 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdi.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 91 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdi.c:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 91 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c In file included from file_vdj.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vdj.c: In function 'header_check_vdj': file_vdj.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vdj.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdj.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdj.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c In file included from file_veg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_veg.c: In function 'header_check_veg': file_veg.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_veg.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_veg.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c In file included from file_tiff_be.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tiff_be.c: In function 'tiff_be_read': file_tiff_be.c:296:24: warning: declaration of 'val' shadows a parameter [-Wshadow] 296 | const uint16_t val=*ptr; | ^~~ file_tiff_be.c:282:46: note: shadowed declaration is here 282 | static unsigned int tiff_be_read(const void *val, const unsigned int type) | ~~~~~~~~~~~~^~~ file_tiff_be.c:303:24: warning: declaration of 'val' shadows a parameter [-Wshadow] 303 | const uint32_t val=*ptr; | ^~~ file_tiff_be.c:282:46: note: shadowed declaration is here 282 | static unsigned int tiff_be_read(const void *val, const unsigned int type) | ~~~~~~~~~~~~^~~ file_tiff_be.c: In function 'header_check_tiff_be': file_tiff_be.c:832:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 832 | int header_check_tiff_be(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c In file included from file_tiff_le.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_tiff_le.c: In function 'header_check_tiff_le': file_tiff_le.c:835:106: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 835 | int header_check_tiff_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c In file included from file_vmdk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vmdk.c: In function 'header_check_vmdk3': file_vmdk.c:88:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:88:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:88:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_vmdk.c: In function 'header_check_vmdk4': file_vmdk.c:111:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:111:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:111:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c In file included from file_vib.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vib.c: In function 'header_check_vib': file_vib.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vib.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vib.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vib.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c In file included from file_vfb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vfb.c: In function 'header_check_vfb': file_vfb.c:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vfb.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vfb.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vfb.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c In file included from file_vmg.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_vmg.c: In function 'header_check_vmg': file_vmg.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vmg.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmg.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmg.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wad.o file_wad.c In file included from file_wad.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wad.c: In function 'header_check_wad': file_wad.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wad.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wad.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c In file included from file_wallet.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wallet.c: In function 'header_check_wallet': file_wallet.c:52:53: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wallet.c:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wallet.c:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wallet.c:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c In file included from file_wdp.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wdp.c: In function 'header_check_wdp': file_wdp.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wdp.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c In file included from file_wee.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wee.c: In function 'header_check_wee': file_wee.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wee.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wee.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c In file included from file_wim.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wim.c: In function 'header_check_wim': file_wim.c:105:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wim.c:105:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wim.c:105:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c In file included from file_win.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_win.c: In function 'header_check_win': file_win.c:80:50: warning: unused parameter 'buffer' [-Wunused-parameter] 80 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_win.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 80 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_win.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 80 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_win.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 80 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c In file included from file_wks.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wks.c: In function 'header_check_wk4': file_wks.c:63:50: warning: unused parameter 'buffer' [-Wunused-parameter] 63 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wks.c: In function 'header_check_wks': file_wks.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c In file included from file_wmf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wmf.c: In function 'header_check_wmf': file_wmf.c:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wmf.c: In function 'header_check_wmf_placeable': file_wmf.c:113:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:113:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:113:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c In file included from file_wnk.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wnk.c: In function 'header_check_wnk': file_wnk.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wnk.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wnk.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wnk.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c In file included from file_wld.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wld.c: In function 'header_check_wld': file_wld.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wld.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wld.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c In file included from file_wpb.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wpb.c: In function 'header_check_wpb': file_wpb.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wpb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c In file included from file_woff.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_woff.c: In function 'header_check_woff': file_woff.c:71:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_woff.c:71:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_woff.c:71:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c In file included from file_wpd.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wpd.c: In function 'header_check_wpd': file_wpd.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpd.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpd.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c In file included from file_wtv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wtv.c: In function 'header_check_wtv': file_wtv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wtv.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c In file included from file_x3i.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_x3i.c: In function 'header_check_x3i': file_x3i.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_x3i.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3i.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3i.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c In file included from file_x3f.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_x3f.c: In function 'header_check_x3f': file_x3f.c:70:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 70 | static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_wv.c: In function 'header_check_wv': file_wv.c:121:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 121 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wv.c:121:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 121 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wv.c:121:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 121 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c In file included from file_x4a.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_x4a.c: In function 'header_check_ysfc100': file_x4a.c:96:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x4a.c:96:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x4a.c:96:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c In file included from file_xar.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xar.c: In function 'header_check_xar': file_xar.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xar.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xar.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c In file included from file_xfi.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xfi.c: In function 'header_check_xfi': file_xfi.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfi.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfi.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfi.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xcf.c: In function 'header_check_xcf': file_xcf.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xcf.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xcf.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c In file included from file_xsv.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xsv.c: In function 'header_check_xsv': file_xsv.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xsv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xsv.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xsv.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xpt.c: In function 'header_check_xpt': file_xpt.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xpt.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xpt.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xfs.c: In function 'header_check_xfs_sb': file_xfs.c:55:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:55:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfs.c:55:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'data_check_stopasap': file_xfs.c:76:62: warning: unused parameter 'buffer' [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:76:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:76:119: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'header_save_xfs': file_xfs.c:87:49: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:87:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:87:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'header_check_xfs_inode': file_xfs.c:144:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 144 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:144:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 144 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:26: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xm.c: In function 'header_check_xm': file_xm.c:273:49: warning: unused parameter 'buffer' [-Wunused-parameter] 273 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xm.c:273:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 273 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xm.c:273:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 273 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xm.c:273:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 273 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c In file included from file_xml.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xml.c: In function 'header_check_xml': file_xml.c:125:50: warning: unused parameter 'buffer' [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xml.c:125:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xml.c:125:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xml.c:125:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c In file included from file_xz.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xz.c: In function 'header_check_xz': file_xz.c:65:49: warning: unused parameter 'buffer' [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xz.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xz.c:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xz.c:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c In file included from file_z2d.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_z2d.c: In function 'header_check_z2d': file_z2d.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_z2d.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_z2d.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c In file included from file_zcode.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_zcode.c: In function 'header_check_zcode': file_zcode.c:52:52: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zcode.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zcode.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zcode.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c In file included from file_zpr.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_zpr.c: In function 'header_check_zpr': file_zpr.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zpr.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zpr.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_xv.c: In function 'header_check_xv': file_xv.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xv.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xv.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c In file included from file_txt.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_txt.c: In function 'UTF2Lat': file_txt.c:563:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 563 | p+2-buffer: note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c In file included from file_zip.c:27: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition file_zip.c: In function 'header_check_winzip': file_zip.c:1379:53: warning: unused parameter 'buffer' [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zip.c:1379:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zip.c:1379:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zip.c:1379:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c In file included from suspend_no.c:2: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition suspend_no.c: In function 'suspend_memory': suspend_no.c:17:34: warning: unused parameter 'cinfo' [-Wunused-parameter] 17 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ suspend_no.c: In function 'resume_memory': suspend_no.c:20:32: warning: unused parameter 'cinfo' [-Wunused-parameter] 20 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' QT_SELECT=qt5 moc-qt5 qphotorec.h -o moc_qphotorec.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' QT_SELECT=qt5 rcc-qt5 qphotorec.qrc -o rcc_qphotorec.cpp -name qphotorec make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.cs.ts -qm lang/qphotorec.cs.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.el.ts -qm lang/qphotorec.el.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.fi.ts -qm lang/qphotorec.fi.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.pl.ts -qm lang/qphotorec.pl.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c In file included from fidentify.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition fidentify.c: In function 'file_identify': fidentify.c:331:42: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 331 | if(file_recovery_new.file_size > file_size) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.sv_SE.ts -qm lang/qphotorec.sv_SE.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.zh_CN.ts -qm lang/qphotorec.zh_CN.qm make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:25: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' ln -s qphotorec_locale.qrc . || exit 0 ln: failed to create symbolic link './qphotorec_locale.qrc': File exists QT_SELECT=qt5 rcc-qt5 ./qphotorec_locale.qrc -o rcc_qphotorec_locale.cpp -name qphotorec_locale make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -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 '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qpsearch.o `test -f 'qpsearch.cpp' || echo './'`qpsearch.cpp In file included from qpsearch.cpp:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphbs.o `test -f 'qphbs.cpp' || echo './'`qphbs.cpp In file included from qphbs.cpp:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-moc_qphotorec.o `test -f 'moc_qphotorec.cpp' || echo './'`moc_qphotorec.cpp In file included from qphotorec.h:15, from moc_qphotorec.cpp:10: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qmainrec.o `test -f 'qmainrec.cpp' || echo './'`qmainrec.cpp In file included from qmainrec.cpp:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -o testdisk common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o apfs_common.o autoset.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log_part.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o apfs.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o fat.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o io_redir.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o next.o -lntfs-3g -lext2fs -lcom_err -lncursesw -ltinfo -lreiserfs -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphotorec.o `test -f 'qphotorec.cpp' || echo './'`qphotorec.cpp In file included from qphotorec.cpp:24: ../config.h:607:9: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition qphotorec.cpp: In member function 'void QPhotorec::PartListWidget_updateUI()': qphotorec.cpp:287:27: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 287 | partname.sprintf("[%s]", partition->partname); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from qphotorec.cpp:59: /usr/include/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ qphotorec.cpp:292:25: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | fsname.sprintf(" [%s]", partition->fsname); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -o fidentify filegen.o file_list.o file_1cd.o file_3dm.o file_3ds.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bfa.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_clip.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dovecot.o file_dpx.o file_drw.o file_drw2.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exr.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fbx.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_fxp.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdf5.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lz.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mdp.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_pa.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_sdsk.o file_sdw.o file_ses.o file_sgcta.o file_shn.o file_shp.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wad.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o utfsize.o common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o suspend_no.o fidentify.o -ljpeg -lz In function 'header_check_doc', inlined from 'header_check_doc' at file_doc.c:1812:12: memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1875:11: note: called from here 1875 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1879:11: note: called from here 1879 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1883:11: note: called from here 1883 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1884:7: note: called from here 1884 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1885:7: note: called from here 1885 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1886:7: note: called from here 1886 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1890:11: note: called from here 1890 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1894:11: note: called from here 1894 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1898:11: note: called from here 1898 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1902:11: note: called from here 1902 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1906:11: note: called from here 1906 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1910:11: note: called from here 1910 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1914:11: note: called from here 1914 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1915:10: note: called from here 1915 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1919:11: note: called from here 1919 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ memmem.h: In function 'header_check_txt': memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1707:8: note: called from here 1707 | if(td_memmem(haystack, ll, "python", 6) != NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1716:8: note: called from here 1716 | if(td_memmem(haystack, ll, "ruby", 4) != NULL) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -o photorec photorec.o phcfg.o addpart.o chgarch.o chgtype.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o poptions.o sessionp.o dfxml.o partgptro.o filegen.o file_list.o file_1cd.o file_3dm.o file_3ds.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bfa.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_clip.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dovecot.o file_dpx.o file_drw.o file_drw2.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exr.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fbx.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_fxp.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdf5.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lz.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mdp.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_pa.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_sdsk.o file_sdw.o file_ses.o file_sgcta.o file_shn.o file_shp.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wad.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o utfsize.o common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o apfs_common.o autoset.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log_part.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o apfs.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o fat.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o phmain.o addpartn.o askloc.o chgarchn.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phcli.o phnc.o phrecn.o ppartseln.o psearchn.o suspend_no.o -lntfs-3g -lext2fs -lcom_err -lncursesw -ltinfo -ljpeg -lz memmem.h: In function 'header_check_txt': memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1707:8: note: called from here 1707 | if(td_memmem(haystack, ll, "python", 6) != NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1716:8: note: called from here 1716 | if(td_memmem(haystack, ll, "ruby", 4) != NULL) | ^ In function 'header_check_doc', inlined from 'header_check_doc' at file_doc.c:1812:12: memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1875:11: note: called from here 1875 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1879:11: note: called from here 1879 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1883:11: note: called from here 1883 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1884:7: note: called from here 1884 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1885:7: note: called from here 1885 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1886:7: note: called from here 1886 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1890:11: note: called from here 1890 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1894:11: note: called from here 1894 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1898:11: note: called from here 1898 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1902:11: note: called from here 1902 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1906:11: note: called from here 1906 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1910:11: note: called from here 1910 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1914:11: note: called from here 1914 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1915:10: note: called from here 1915 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1919:11: note: called from here 1919 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' x86_64-alt-linux-g++ -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -Wtrampolines -Wvla --std=c++14 -fstack-protector-strong -o qphotorec photorec.o phcfg.o addpart.o chgarch.o chgtype.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o poptions.o sessionp.o dfxml.o partgptro.o filegen.o file_list.o file_1cd.o file_3dm.o file_3ds.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bfa.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_clip.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dovecot.o file_dpx.o file_drw.o file_drw2.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exr.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fbx.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_fxp.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdf5.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lz.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mdp.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_pa.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_sdsk.o file_sdw.o file_ses.o file_sgcta.o file_shn.o file_shp.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wad.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o utfsize.o common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o apfs_common.o autoset.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log_part.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o apfs.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o fat.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o qphotorec-qmainrec.o qphotorec-qphotorec.o qphotorec-qphbs.o qphotorec-qpsearch.o qphotorec-moc_qphotorec.o qphotorec-rcc_qphotorec.o qphotorec-rcc_qphotorec_locale.o -lntfs-3g -lext2fs -lcom_err -ljpeg -lQt5Gui -lQt5Core -lQt5Widgets -lQt5Gui -lQt5Core -lz memmem.h: In function 'header_check_txt': memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1707:8: note: called from here 1707 | if(td_memmem(haystack, ll, "python", 6) != NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_txt.c:1716:8: note: called from here 1716 | if(td_memmem(haystack, ll, "ruby", 4) != NULL) | ^ In function 'header_check_doc', inlined from 'header_check_doc' at file_doc.c:1812:12: memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1875:11: note: called from here 1875 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1879:11: note: called from here 1879 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1883:11: note: called from here 1883 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1884:7: note: called from here 1884 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1885:7: note: called from here 1885 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1886:7: note: called from here 1886 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1890:11: note: called from here 1890 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1894:11: note: called from here 1894 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1898:11: note: called from here 1898 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1902:11: note: called from here 1902 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1906:11: note: called from here 1906 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1910:11: note: called from here 1910 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1914:11: note: called from here 1914 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1915:10: note: called from here 1915 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:35:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:1919:11: note: called from here 1919 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59633 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/testdisk-buildroot + : + /bin/rm -rf -- /usr/src/tmp/testdisk-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd testdisk-7.2 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/testdisk-buildroot make: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2' Making install in icons make[1]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/share/icons/hicolor' /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/share/icons/hicolor/48x48/apps' /usr/libexec/rpm-build/install -p -m 644 48x48/apps/qphotorec.png '/usr/src/tmp/testdisk-buildroot/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/share/icons/hicolor/scalable/apps' /usr/libexec/rpm-build/install -p -m 644 scalable/apps/qphotorec.svg '/usr/src/tmp/testdisk-buildroot/usr/share/icons/hicolor/scalable/apps' make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' *** Icon cache not updated. After (un)install, run this: *** gtk-update-icon-cache -f -t /usr/share/icons/hicolor make[3]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' make[1]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/icons' Making install in man make[1]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/man' Making install in zh_CN make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/man/zh_CN' make[3]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/man/zh_CN' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/share/man/zh_CN/man8' /usr/libexec/rpm-build/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/usr/src/tmp/testdisk-buildroot/usr/share/man/zh_CN/man8' make[3]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/man/zh_CN' make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/man/zh_CN' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/man' make[3]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/share/man/man8' /usr/libexec/rpm-build/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/usr/src/tmp/testdisk-buildroot/usr/share/man/man8' make[3]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/man' make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/man' make[1]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/man' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2/src' /usr/bin/mkdir -p '/usr/src/tmp/testdisk-buildroot/usr/bin' /usr/libexec/rpm-build/install -p testdisk photorec fidentify qphotorec '/usr/src/tmp/testdisk-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2' make[2]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2' make[2]: Nothing to be done for 'install-exec-am'. make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/testdisk-7.2' /bin/sh /usr/src/RPM/BUILD/testdisk-7.2/config/install-sh -d /usr/src/tmp/testdisk-buildroot/usr/share/doc/testdisk /usr/libexec/rpm-build/install -p -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /usr/src/tmp/testdisk-buildroot/usr/share/doc/testdisk /bin/sh /usr/src/RPM/BUILD/testdisk-7.2/config/install-sh -d /usr/src/tmp/testdisk-buildroot/usr/share/applications /usr/libexec/rpm-build/install -p -m 644 ./linux/qphotorec.desktop /usr/src/tmp/testdisk-buildroot/usr/share/applications make[3]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2' make[2]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2' make[1]: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2' make: Leaving directory '/usr/src/RPM/BUILD/testdisk-7.2' + rm -rf /usr/src/tmp/testdisk-buildroot/usr/share/man/zh_CN/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/testdisk-buildroot (auto) Verifying and fixing files in /usr/src/tmp/testdisk-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/testdisk-buildroot/ (default) Compressing files in /usr/src/tmp/testdisk-buildroot (auto) Verifying ELF objects in /usr/src/tmp/testdisk-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/testdisk-buildroot Processing files: testdisk-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dxulZF find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JEWHhC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: testdisk-doc = testdisk-7.2 Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libext2fs.so.2()(64bit) >= set:nj5Zv1ccW6oolgazb6NnLVmjyC5, libjpeg.so.62()(64bit) >= set:kgvLPFlp5EP4DOJVCPR1WC6, libncursesw.so.6()(64bit) >= set:ni6NHYg7ThDZIH3Yqi8zaGe7jhyfoWpV0Ac058lWmAnGZ2kvpSVPfYNp1OJJ0Zz2asaPSVryveJ, libntfs-3g.so.89()(64bit) >= set:mhQqwmSN4etr1ZmTMqzQDzHqY5VxZdXcpU1Qr0NNXAvCi4pqZIWD2Xkqjrfa4QH90, libreiserfs-0.3.so.0()(64bit) >= set:lhPHTz93j7nYCRmFy1HyeoeX0l9xOZ2O36, libtinfo.so.6()(64bit) >= set:liZKbfJytZyTGpUWII0EUb0, libz.so.1()(64bit) >= set:khM4gEZ5EyqZ72, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: testdisk-doc < 6.14 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gclAMM Creating testdisk-debuginfo package Processing files: photorec-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CEssbI find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zpArUJ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libext2fs.so.2()(64bit) >= set:nj5Zv7b5kqEu3fEAqo5UeMMGwk6ncyLuPJC4db, libjpeg.so.62()(64bit) >= set:kgvLPFlp5EP4DOJVCPR1WC6, libncursesw.so.6()(64bit) >= set:ni6NHYg7ThDZIH3Yqi8zaGe7jhyfoWpV0QIkFrhuFKNJitTI0VSmwZx15eBpXYdNfDm, libntfs-3g.so.89()(64bit) >= set:mhQqwmSN4etr1ZmTMqzQDzHqY5VxZdXcpU1Qr0nKTkyMZzf5SFQCSuk8Enj0, libtinfo.so.6()(64bit) >= set:liZKbfJytZyTGpUWII0EUb0, libz.so.1()(64bit) >= set:khM4gEZ5EyqZ72, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aPoIag Creating photorec-debuginfo package Processing files: qphotorec-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lBqjPB find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Dd033p find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libQt5Core.so.5()(64bit) >= set:qktOFW83Qn7Ioym250oZ7ZeQ4Zj271gh3nFBbnLXRjgL9FCjZij3jgdOw9BH4ZdIug7BZ6PzKpLVh0fjy3poMFdbHuOjdjR3wC7hYeskZwDaU4gIt1nvw5vgTjapZjZ8m06gDmZEKT0ZDfEUtQ21fk0UmhOMTHXlZvehmSkdDb52QfYHSAw7lhG1, libQt5Core.so.5(Qt_5)(64bit), libQt5Core.so.5(Qt_5.15)(64bit), libQt5Gui.so.5()(64bit) >= set:roZ4IZxjhdxXreLLAx5IewDq85, libQt5Gui.so.5(Qt_5)(64bit), libQt5Widgets.so.5()(64bit) >= set:rj0MAxZDLJ91RDZjDE0P4TMK1MZjHXq262ZEWzmEqD4z9FSe8HIiRlcZ8CDq9zl3ywZ947a0MJjH52QFyHshpoo5LtalTUOuviZgm903R1R4w1aMBlstcBIdcGZmQz9UG4UB0MBUdxEEU1Kt0bLTMkT3Ff2x7XZpE1QZdo9GcUAZ7QtwxAKZ71Rh3q5ZguiqoxgURpOQ71sZBxVG5IyyZyz39dgSbUT9zljGIywAqjjcXbp3s8Akp6Ep8lvLjCgYomIBGtAm8W4VgrFa09zD29ZcSEzvomAyuMPZ8MzPNjhxSK7uqD8Z4U2zh2BmP8o2YjX3TjX33TZkT8Kj3ikUtNCiQZlHQ9lYZIgYhDZvZJmo9SUEA14acj6AoabFfiIcPuv40VOAEDfjw857scj3RO01MG43Z1cmk4iXN4oN2G1kqEVcT1, libQt5Widgets.so.5(Qt_5)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libext2fs.so.2()(64bit) >= set:nj5Zv7b5kqEu3fEAqo5UeMMGwk6ncyLuPJC4db, libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libjpeg.so.62()(64bit) >= set:kgvLPFlp5EP4DOJVCPR1WC6, libntfs-3g.so.89()(64bit) >= set:mhQqwmSN4etr1ZmTMqzQDzHqY5VxZdXcpU1Qr0nKTkyMZzf5SFQCSuk8Enj0, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libz.so.1()(64bit) >= set:khM4gEZ5EyqZ72, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vaxb4r Creating qphotorec-debuginfo package Processing files: testdisk-debuginfo-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XiQe0M find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.63Mle1 find-requires: running scripts (debuginfo) Requires: testdisk = 7.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libext2fs.so.2), debug64(libjpeg.so.62), debug64(libncursesw.so.6), debug64(libntfs-3g.so.89), debug64(libreiserfs-0.3.so.0), debug64(libtinfo.so.6), debug64(libz.so.1) Processing files: photorec-debuginfo-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YG9Omc find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZBHVUp find-requires: running scripts (debuginfo) Requires: photorec = 7.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libext2fs.so.2), debug64(libjpeg.so.62), debug64(libncursesw.so.6), debug64(libntfs-3g.so.89), debug64(libtinfo.so.6), debug64(libz.so.1) Processing files: qphotorec-debuginfo-7.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Z0q4Gk find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dU1uYV find-requires: running scripts (debuginfo) Requires: qphotorec = 7.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libQt5Core.so.5), debug64(libQt5Gui.so.5), debug64(libQt5Widgets.so.5), debug64(libc.so.6), debug64(libext2fs.so.2), debug64(libgcc_s.so.1), debug64(libjpeg.so.62), debug64(libntfs-3g.so.89), debug64(libstdc++.so.6), debug64(libz.so.1) Adding to testdisk-debuginfo a strict dependency on testdisk Adding to photorec-debuginfo a strict dependency on photorec Adding to qphotorec-debuginfo a strict dependency on qphotorec Wrote: /usr/src/RPM/RPMS/x86_64/testdisk-7.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/photorec-7.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/qphotorec-7.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/testdisk-debuginfo-7.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/photorec-debuginfo-7.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/qphotorec-debuginfo-7.2-alt1.x86_64.rpm (w2.lzdio) 78.55user 30.21system 0:38.77elapsed 280%CPU (0avgtext+0avgdata 244160maxresident)k 0inputs+0outputs (0major+5184848minor)pagefaults 0swaps 5.03user 3.50system 1:01.82elapsed 13%CPU (0avgtext+0avgdata 139188maxresident)k 672inputs+0outputs (0major+255271minor)pagefaults 0swaps --- photorec-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:15.000000000 +0000 +++ photorec-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:50.878201800 +0000 @@ -24,4 +24,4 @@ Provides: photorec = 7.2-alt1:sisyphus+341574.100.1.1 -File: /usr/bin/photorec 100755 root:root 82b817cac2d197e9c2d3226abaef0762 +File: /usr/bin/photorec 100755 root:root 51b8a183c89698d62dd011e5f868bdee File: /usr/share/man/man8/photorec.8.xz 100644 root:root a9c662159dacb1aafdd2bfec3babf386 -RPMIdentity: 3eb35df89ff4cfa3481896ffe62ca92dc2b3cb873d267e411e6d5789794d3f1a7117756a3e8449439246ae2d994c3a7e688080c0b2a903fc8e816a6a879aa35c +RPMIdentity: 14589b2e04b6f61b23cca47dd95aec1e398d737b3dbb7302240255b73c5962e72fe2b265894440b4483d954062ec21a771907181d2b6e36e5e693c02fbff55a8 --- photorec-debuginfo-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:17.000000000 +0000 +++ photorec-debuginfo-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:50.971203441 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/7d 40755 root:root -/usr/lib/debug/.build-id/7d/b3b5a89afdeda6b6e4098f52446c49ed9a0e43 120777 root:root ../../../../bin/photorec -/usr/lib/debug/.build-id/7d/b3b5a89afdeda6b6e4098f52446c49ed9a0e43.debug 120777 root:root ../../usr/bin/photorec.debug +/usr/lib/debug/.build-id/31 40755 root:root +/usr/lib/debug/.build-id/31/d6245e6c2cd1b06f2f9dfeaad64a26a8bf54ce 120777 root:root ../../../../bin/photorec +/usr/lib/debug/.build-id/31/d6245e6c2cd1b06f2f9dfeaad64a26a8bf54ce.debug 120777 root:root ../../usr/bin/photorec.debug /usr/lib/debug/usr/bin/photorec.debug 100644 root:root @@ -618,6 +618,6 @@ Provides: photorec-debuginfo = 7.2-alt1:sisyphus+341574.100.1.1 -File: /usr/lib/debug/.build-id/7d 40755 root:root -File: /usr/lib/debug/.build-id/7d/b3b5a89afdeda6b6e4098f52446c49ed9a0e43 120777 root:root ../../../../bin/photorec -File: /usr/lib/debug/.build-id/7d/b3b5a89afdeda6b6e4098f52446c49ed9a0e43.debug 120777 root:root ../../usr/bin/photorec.debug -File: /usr/lib/debug/usr/bin/photorec.debug 100644 root:root 03970363e0c2ee9d261ef230e8d5ec09 +File: /usr/lib/debug/.build-id/31 40755 root:root +File: /usr/lib/debug/.build-id/31/d6245e6c2cd1b06f2f9dfeaad64a26a8bf54ce 120777 root:root ../../../../bin/photorec +File: /usr/lib/debug/.build-id/31/d6245e6c2cd1b06f2f9dfeaad64a26a8bf54ce.debug 120777 root:root ../../usr/bin/photorec.debug +File: /usr/lib/debug/usr/bin/photorec.debug 100644 root:root 537179e6c178ce2bb738d945d9e8ebc5 File: /usr/src/debug/testdisk-7.2 40755 root:root @@ -1225,2 +1225,2 @@ File: /usr/src/debug/testdisk-7.2/src/zfs.h 100644 root:root 18878251b188086ab34f2db52fff4804 -RPMIdentity: 4e7e38f526a36783eb15a61c2e577e83890c4420022531f7df80f73f2f2576aa1e8a4f3ddaf56a7a7a18016efd9a9206afd6ffd27e58906d1b3ebc7cbc1cefe3 +RPMIdentity: e444465efa8e2631217eb531aa54aff9ef248d177788887784d12187c739d32b5ed9aa9971198689b3ce955835e1a0c3b7ecf46f478df2c734e53a45924b6241 --- qphotorec-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:16.000000000 +0000 +++ qphotorec-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:51.061205030 +0000 @@ -37,3 +37,3 @@ Provides: qphotorec = 7.2-alt1:sisyphus+341574.100.1.1 -File: /usr/bin/qphotorec 100755 root:root 05710d52a788ca3e599619cd3981440e +File: /usr/bin/qphotorec 100755 root:root b43bac0c3ffd9a70799490da0be8861a File: /usr/share/applications/qphotorec.desktop 100644 root:root 635644ab6eeb447a1de9c2efdf8fb002 @@ -42,2 +42,2 @@ File: /usr/share/man/man8/qphotorec.8.xz 100644 root:root 35459750e2abc2731baa8b2e59e388f1 -RPMIdentity: ad3872a7fc63cee0e55149fa260d60810596daba2df8290bddb78ab36ad5f2351aceed73d777b11d09262bcf1a2a1511a3b7869a3504b211ab149b889c85b7e7 +RPMIdentity: 1b9e55f8fd456af6ce941b191476cd9a2300f86366301cd8cce821e9fab9665d3a153d5348cfc342a055f03b44a388cbdb00af435f5889f00a4f2d206d91da75 --- qphotorec-debuginfo-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:17.000000000 +0000 +++ qphotorec-debuginfo-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:51.148206565 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/49 40755 root:root -/usr/lib/debug/.build-id/49/fb14256242f1bb647e4208dd73ad9c18728899 120777 root:root ../../../../bin/qphotorec -/usr/lib/debug/.build-id/49/fb14256242f1bb647e4208dd73ad9c18728899.debug 120777 root:root ../../usr/bin/qphotorec.debug +/usr/lib/debug/.build-id/43 40755 root:root +/usr/lib/debug/.build-id/43/70cee28276965e5c78310cf558911c61ef14ac 120777 root:root ../../../../bin/qphotorec +/usr/lib/debug/.build-id/43/70cee28276965e5c78310cf558911c61ef14ac.debug 120777 root:root ../../usr/bin/qphotorec.debug /usr/lib/debug/usr/bin/qphotorec.debug 100644 root:root @@ -570,6 +570,6 @@ Provides: qphotorec-debuginfo = 7.2-alt1:sisyphus+341574.100.1.1 -File: /usr/lib/debug/.build-id/49 40755 root:root -File: /usr/lib/debug/.build-id/49/fb14256242f1bb647e4208dd73ad9c18728899 120777 root:root ../../../../bin/qphotorec -File: /usr/lib/debug/.build-id/49/fb14256242f1bb647e4208dd73ad9c18728899.debug 120777 root:root ../../usr/bin/qphotorec.debug -File: /usr/lib/debug/usr/bin/qphotorec.debug 100644 root:root 94b4846788a5d6d6f651fa2b81a1f132 +File: /usr/lib/debug/.build-id/43 40755 root:root +File: /usr/lib/debug/.build-id/43/70cee28276965e5c78310cf558911c61ef14ac 120777 root:root ../../../../bin/qphotorec +File: /usr/lib/debug/.build-id/43/70cee28276965e5c78310cf558911c61ef14ac.debug 120777 root:root ../../usr/bin/qphotorec.debug +File: /usr/lib/debug/usr/bin/qphotorec.debug 100644 root:root 6f1a71c5f3bb6df4a668002a9da87dea File: /usr/src/debug/testdisk-7.2 40755 root:root @@ -1042,3 +1042,3 @@ File: /usr/src/debug/testdisk-7.2/src/misc.h 100644 root:root 37d5afe2fca225aad7630540beee961c -File: /usr/src/debug/testdisk-7.2/src/moc_qphotorec.cpp 100644 root:root f2a33e064d5fe0c4059c26090da280c7 +File: /usr/src/debug/testdisk-7.2/src/moc_qphotorec.cpp 100644 root:root 4a8e7e51c0f2b38657541d70dcfcf549 File: /usr/src/debug/testdisk-7.2/src/msdos.c 100644 root:root 9275c789423495efee2b64c8d87d9d8c @@ -1089,4 +1089,4 @@ File: /usr/src/debug/testdisk-7.2/src/qpsearch.cpp 100644 root:root 4803ca6b02ca481062e87ac088b5827a -File: /usr/src/debug/testdisk-7.2/src/rcc_qphotorec.cpp 100644 root:root bb763a96187bb21dcdb65a43666fcea6 -File: /usr/src/debug/testdisk-7.2/src/rcc_qphotorec_locale.cpp 100644 root:root a67387771632c05e8c8503283f06adae +File: /usr/src/debug/testdisk-7.2/src/rcc_qphotorec.cpp 100644 root:root 25725abc78dfcd22cd75d9fb15d8b3aa +File: /usr/src/debug/testdisk-7.2/src/rcc_qphotorec_locale.cpp 100644 root:root 6ae7e9ff4fe7a4489719d7fd0606ad10 File: /usr/src/debug/testdisk-7.2/src/refs.c 100644 root:root 60503349afc8e17ee3a3f29b376841d6 @@ -1126,2 +1126,2 @@ File: /usr/src/debug/testdisk-7.2/src/zfs.h 100644 root:root 18878251b188086ab34f2db52fff4804 -RPMIdentity: ca1ea0054019adbbf22950d8c77f459908cb5961d74fafd307a93d6472338700bc0d9cc736f4a383236a4392cc0eb4ae1617c71afd7876de0f9949341d00a510 +RPMIdentity: c7c5df86af990769800d52597195daff9ddbdb52a22f0637e04c8e0cb48d89fb410e0f0a71cd880fd319a83d8bf626aa2112096a8011aec64eddf889bf9723ab --- testdisk-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:16.000000000 +0000 +++ testdisk-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:51.233208065 +0000 @@ -36,4 +36,4 @@ Obsoletes: testdisk-doc < 6.14 -File: /usr/bin/fidentify 100755 root:root 5e33587455c6b2c0ce37fe4b7c9b1702 -File: /usr/bin/testdisk 100755 root:root 38d73acbb9ed7b455d221a4b35a962db +File: /usr/bin/fidentify 100755 root:root c23b1f2f09281fdbdd9a5dfd1d16d7f0 +File: /usr/bin/testdisk 100755 root:root d3325980a97ac1c76566e82153cc4915 File: /usr/share/doc/testdisk 40755 root:root @@ -47,2 +47,2 @@ File: /usr/share/man/man8/testdisk.8.xz 100644 root:root 8144a1a0c89b4d8d7d710a65329d3da7 -RPMIdentity: 5f86d2070ae73eed70006dbc8f9603236426227a3016eea74484f87eee610fc114a6785acce969741aacb3534c5c862a8288ddbc0f914a7c5e07a8e9f8ba93e3 +RPMIdentity: 7dabee4b4812ddd037d4659fa257cfcf0eac2b99ddf1febec5ace64e2ce786f28612c3318836c667e73d7e8c58a6a7e6be932fb3b5829e65a64a98cf3bbd187d --- testdisk-debuginfo-7.2-alt1.x86_64.rpm.repo 2024-02-28 00:22:16.000000000 +0000 +++ testdisk-debuginfo-7.2-alt1.x86_64.rpm.hasher 2024-12-19 04:49:51.323209653 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/13 40755 root:root -/usr/lib/debug/.build-id/13/d880b1e806f07f4d69adb5aeef8afb644b1f69 120777 root:root ../../../../bin/testdisk -/usr/lib/debug/.build-id/13/d880b1e806f07f4d69adb5aeef8afb644b1f69.debug 120777 root:root ../../usr/bin/testdisk.debug -/usr/lib/debug/.build-id/42 40755 root:root -/usr/lib/debug/.build-id/42/f2bc7bf12edb1bdd18abd1fe7d8e8d8239e43c 120777 root:root ../../../../bin/fidentify -/usr/lib/debug/.build-id/42/f2bc7bf12edb1bdd18abd1fe7d8e8d8239e43c.debug 120777 root:root ../../usr/bin/fidentify.debug +/usr/lib/debug/.build-id/39 40755 root:root +/usr/lib/debug/.build-id/39/d6f6010f4ae000e4fd90e869961252f3c2809e 120777 root:root ../../../../bin/testdisk +/usr/lib/debug/.build-id/39/d6f6010f4ae000e4fd90e869961252f3c2809e.debug 120777 root:root ../../usr/bin/testdisk.debug +/usr/lib/debug/.build-id/91 40755 root:root +/usr/lib/debug/.build-id/91/ca3c86ca18d6c573082ea11b3a17cf639fdfc8 120777 root:root ../../../../bin/fidentify +/usr/lib/debug/.build-id/91/ca3c86ca18d6c573082ea11b3a17cf639fdfc8.debug 120777 root:root ../../usr/bin/fidentify.debug /usr/lib/debug/usr/bin/fidentify.debug 100644 root:root @@ -643,10 +643,10 @@ Provides: testdisk-debuginfo = 7.2-alt1:sisyphus+341574.100.1.1 -File: /usr/lib/debug/.build-id/13 40755 root:root -File: /usr/lib/debug/.build-id/13/d880b1e806f07f4d69adb5aeef8afb644b1f69 120777 root:root ../../../../bin/testdisk -File: /usr/lib/debug/.build-id/13/d880b1e806f07f4d69adb5aeef8afb644b1f69.debug 120777 root:root ../../usr/bin/testdisk.debug -File: /usr/lib/debug/.build-id/42 40755 root:root -File: /usr/lib/debug/.build-id/42/f2bc7bf12edb1bdd18abd1fe7d8e8d8239e43c 120777 root:root ../../../../bin/fidentify -File: /usr/lib/debug/.build-id/42/f2bc7bf12edb1bdd18abd1fe7d8e8d8239e43c.debug 120777 root:root ../../usr/bin/fidentify.debug -File: /usr/lib/debug/usr/bin/fidentify.debug 100644 root:root 41a6375b8602336fbb1a6e930209540c -File: /usr/lib/debug/usr/bin/testdisk.debug 100644 root:root ac4f9183245f9a6a830c72fd1762b6b9 +File: /usr/lib/debug/.build-id/39 40755 root:root +File: /usr/lib/debug/.build-id/39/d6f6010f4ae000e4fd90e869961252f3c2809e 120777 root:root ../../../../bin/testdisk +File: /usr/lib/debug/.build-id/39/d6f6010f4ae000e4fd90e869961252f3c2809e.debug 120777 root:root ../../usr/bin/testdisk.debug +File: /usr/lib/debug/.build-id/91 40755 root:root +File: /usr/lib/debug/.build-id/91/ca3c86ca18d6c573082ea11b3a17cf639fdfc8 120777 root:root ../../../../bin/fidentify +File: /usr/lib/debug/.build-id/91/ca3c86ca18d6c573082ea11b3a17cf639fdfc8.debug 120777 root:root ../../usr/bin/fidentify.debug +File: /usr/lib/debug/usr/bin/fidentify.debug 100644 root:root 0336bb203eb6b824b863e7f20a56f0df +File: /usr/lib/debug/usr/bin/testdisk.debug 100644 root:root 26d82ce88ddaadfebccda6c688f404e3 File: /usr/src/debug/testdisk-7.2 40755 root:root @@ -1274,2 +1274,2 @@ File: /usr/src/debug/testdisk-7.2/src/zfs.h 100644 root:root 18878251b188086ab34f2db52fff4804 -RPMIdentity: d2570c0a5a02e60a6347dd6951def7abc8441411209ba94e3c736226efc1661ef6c4d336eb7184a28056bda74caef7f356a21a51802997b91c684b3ac69bd869 +RPMIdentity: 316921d36d806ab56245a8415d76e0de1efac03f30ac603d4e7bd11a6032b3a8ad1aaa9a4ff635887e0d709f5499c6d50b8d6d6f362dafd324d451f9e102e7a2