<86>Jun 16 02:44:09 userdel[32362]: delete user 'rooter' <86>Jun 16 02:44:09 groupadd[32486]: group added to /etc/group: name=rooter, GID=1850 <86>Jun 16 02:44:09 groupadd[32486]: group added to /etc/gshadow: name=rooter <86>Jun 16 02:44:09 groupadd[32486]: new group: name=rooter, GID=1850 <86>Jun 16 02:44:09 useradd[32619]: new user: name=rooter, UID=1850, GID=1850, home=/root, shell=/bin/bash <86>Jun 16 02:44:09 userdel[32851]: delete user 'builder' <86>Jun 16 02:44:09 userdel[32851]: removed group 'builder' owned by 'builder' <86>Jun 16 02:44:09 userdel[32851]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 02:44:09 groupadd[32945]: group added to /etc/group: name=builder, GID=1851 <86>Jun 16 02:44:09 groupadd[32945]: group added to /etc/gshadow: name=builder <86>Jun 16 02:44:09 groupadd[32945]: new group: name=builder, GID=1851 <86>Jun 16 02:44:09 useradd[33060]: new user: name=builder, UID=1851, GID=1851, home=/usr/src, shell=/bin/bash <13>Jun 16 02:44:14 rpmi: libsqlite3-3.35.5-alt1.p10.1 p10+340851.100.1.1 1708147015 installed <13>Jun 16 02:44:14 rpmi: libdevmapper-1.02.185-alt1 p10+305156.40.6.1 1662130326 installed <13>Jun 16 02:44:14 rpmi: libcryptopp-8.5.0-alt1 sisyphus+277655.100.1.1 1625746896 installed <13>Jun 16 02:44:14 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 16 02:44:15 rpmi: libstdc++10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:44:15 rpmi: gcc10-c++-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:44:15 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:44:15 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jun 16 02:44:15 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:44:15 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:44:15 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jun 16 02:44:15 rpmi: ca-trust-0.1.6-alt1 p10+344774.100.1.1 1712685728 installed <13>Jun 16 02:44:15 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:44:15 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:44:15 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:44:15 rpmi: libssl-devel-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:44:15 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 16 02:44:15 rpmi: libcryptopp-devel-8.5.0-alt1 sisyphus+277655.100.1.1 1625746896 installed <13>Jun 16 02:44:15 rpmi: libdevmapper-devel-1.02.185-alt1 p10+305156.40.6.1 1662130326 installed <13>Jun 16 02:44:15 rpmi: libsqlite3-devel-3.35.5-alt1.p10.1 p10+340851.100.1.1 1708147015 installed <13>Jun 16 02:44:15 rpmi: zlib-devel-1.2.13-alt1 p10+318109.100.2.1 1682690580 installed <13>Jun 16 02:44:15 rpmi: libzstd-devel-1.5.5-alt2 p10+332501.100.1.1 1698051492 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/urbackup-client-2.5.24-alt1.nosrc.rpm (w1.gzdio) Installing urbackup-client-2.5.24-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27724 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf urbackup-client-2.5.24.0 + echo 'Source #0 (urbackup-client-2.5.24.tar.gz):' Source #0 (urbackup-client-2.5.24.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-client-2.5.24.tar.gz + /bin/tar -xf - + cd urbackup-client-2.5.24.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (urbackup-client-fix-link-sqlite3.patch):' Patch #1 (urbackup-client-fix-link-sqlite3.patch): + /usr/bin/patch -p1 patching file Makefile.am Hunk #1 succeeded at 72 with fuzz 1 (offset 20 lines). + echo 'Patch #2 (md5-bytes.patch):' Patch #2 (md5-bytes.patch): + /usr/bin/patch -p0 patching file md5.h Hunk #1 succeeded at 124 with fuzz 2. Hunk #2 succeeded at 162 (offset 4 lines). + echo 'Patch #3 (uintptr_t.patch):' Patch #3 (uintptr_t.patch): + /usr/bin/patch -p1 patching file blockalign_src/crc.cpp + sed -i s@/usr/local/sbin/urbackupclientbackend@/usr/sbin/urbackupclientbackend@g urbackupclientbackend-redhat.service + sed -i s,armhf,armh, cryptoplugin/src/configure.ac + sed -i s,gnueabihf,gnueabi, cryptoplugin/src/configure.ac + sed -i '/\#include \"cryptopp_inc.h\"/a #include "assert.h"' cryptoplugin/AESGCMDecryption.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.27724 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.5.24.0 + export SUID_CFLAGS=-fPIE + SUID_CFLAGS=-fPIE + export SUID_LDFLAGS=-fpie + SUID_LDFLAGS=-fpie + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: adding subdirectory cryptoplugin/src to autoreconf autoreconf-default: Entering directory `cryptoplugin/src' autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:68: installing './compile' configure.ac:61: installing './missing' Makefile.am: installing './depcomp' Makefile.am:280: warning: variable 'cryptest_SOURCES' is defined but no program or Makefile.am:280: library has 'cryptest' as canonical name (possible typo) Makefile.am:300: warning: variable 'cryptestcwd_SOURCES' is defined but no program or Makefile.am:300: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:296: warning: variable 'nodist_cryptest_SOURCES' is defined but no program or Makefile.am:296: library has 'cryptest' as canonical name (possible typo) Makefile.am:316: warning: variable 'nodist_cryptestcwd_SOURCES' is defined but no program or Makefile.am:316: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:297: warning: variable 'cryptest_LDADD' is defined but no program or Makefile.am:297: library has 'cryptest' as canonical name (possible typo) Makefile.am:317: warning: variable 'cryptestcwd_LDADD' is defined but no program or Makefile.am:317: library has 'cryptestcwd' as canonical name (possible typo) autoreconf-default: Leaving directory `cryptoplugin/src' autoreconf-default: configure.ac: not using Libtool autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ 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 --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 --without-included-gettext --without-embedded-sqlite3 --enable-headless 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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU Objective C++ compiler... no checking whether x86_64-alt-linux-g++ accepts -g... no checking dependency style of x86_64-alt-linux-g++... none checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether the compiler implements namespaces... yes checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking whether the STL defines stringstream... yes checking strstream usability... yes checking strstream presence... yes checking for strstream... yes checking whether the STL defines strstream... yes checking whether C++ compiler accepts -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE... yes checking whether C++ compiler accepts -msse4.1 -msse4.2... yes checking whether the linker accepts -Wl,-z,relro... yes checking for operating system... checking for library containing gethostbyname... none required checking for library containing socket... none required checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strstr... yes checking for syncfs... yes checking for fallocate64... yes checking for utimensat... yes checking for accept4... yes checking for getrandom... yes checking for dlopen in -ldl... yes checking for ZSTD_CCtx_setParameter in -lzstd... yes checking zstd.h usability... yes checking zstd.h presence... yes checking for zstd.h... yes checking for crypto++ version >= 5.1... yes (version 8.5, installed) checking whether Crypto++ contains CryptoPP::AlignedAllocate function... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... pkg-config checking whether compiling and linking against OpenSSL works... yes checking whether function added in OpenSSL 1.1.0 works... yes checking for SQLite3 library >= 3.8.7.0... yes checking for library containing clock_gettime... none required checking for dm_task_set_name in -ldevmapper... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j16 make all-recursive make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-StreamPipe.o `test -f 'StreamPipe.cpp' || echo './'`StreamPipe.cpp In file included from StreamPipe.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from StreamPipe.h:4, from StreamPipe.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Client.o `test -f 'Client.cpp' || echo './'`Client.cpp In file included from Client.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Client.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Client.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Client.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Client.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.h:1, from Client.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-ServerLinux.o `test -f 'ServerLinux.cpp' || echo './'`ServerLinux.cpp In file included from ServerLinux.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from ServerLinux.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-SelectThread.o `test -f 'SelectThread.cpp' || echo './'`SelectThread.cpp In file included from SelectThread.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SelectThread.cpp: In destructor 'CSelectThread::~CSelectThread()': SelectThread.cpp:86:4: warning: deleting object of polymorphic class type 'CWorkerThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from SelectThread.cpp:25: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-AcceptThread.o `test -f 'AcceptThread.cpp' || echo './'`AcceptThread.cpp In file included from AcceptThread.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h: In constructor 'CAcceptThread::CAcceptThread(unsigned int, short unsigned int)': AcceptThread.h:31:7: warning: 'CAcceptThread::error' will be initialized after [-Wreorder] 31 | bool error; | ^~~~~ AcceptThread.h:29:9: warning: 'int CAcceptThread::s_v6' [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h:29:9: warning: 'CAcceptThread::s_v6' will be initialized after [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.h:28:9: warning: 'int CAcceptThread::s' [-Wreorder] 28 | SOCKET s; | ^ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ AcceptThread.cpp: In destructor 'CAcceptThread::~CAcceptThread()': AcceptThread.cpp:143:3: warning: deleting object of polymorphic class type 'CSelectThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 143 | delete SelectThreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-ServiceWorker.o `test -f 'ServiceWorker.cpp' || echo './'`ServiceWorker.cpp In file included from ServiceWorker.cpp:23: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from ServiceWorker.h:9, from ServiceWorker.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-md5.o `test -f 'md5.cpp' || echo './'`md5.cpp In file included from md5.cpp:558: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.cpp: In member function 'void MD5::update(FILE*)': md5.cpp:582:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | while (len = (int)fread(buffer, 1, 1024, file)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-file_fstream.o `test -f 'file_fstream.cpp' || echo './'`file_fstream.cpp In file included from file.h:4, from file_fstream.cpp:20: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_fstream.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from file.h:4, from file_fstream.cpp:20: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-LoadbalancerClient.o `test -f 'LoadbalancerClient.cpp' || echo './'`LoadbalancerClient.cpp In file included from LoadbalancerClient.cpp:21: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ LoadbalancerClient.cpp: In member function 'virtual void CLoadbalancerClient::operator()()': LoadbalancerClient.cpp:35:6: warning: unused variable 'rc' [-Wunused-variable] 35 | int rc; | ^~ In file included from LoadbalancerClient.cpp:19: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Query.o `test -f 'Query.cpp' || echo './'`Query.cpp In file included from Query.cpp:22: Query.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:95:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from Query.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:43: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Query.cpp: In destructor 'CQuery::~CQuery()': Query.cpp:75:2: warning: deleting object of polymorphic class type 'DatabaseCursor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 75 | delete cursor; | ^~~~~~~~~~~~~ In file included from Query.cpp:43: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Query.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-ServiceAcceptor.o `test -f 'ServiceAcceptor.cpp' || echo './'`ServiceAcceptor.cpp In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:23: ServiceAcceptor.h: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.h:42:6: warning: 'CServiceAcceptor::maxClientsPerThread' will be initialized after [-Wreorder] 42 | int maxClientsPerThread; | ^~~~~~~~~~~~~~~~~~~ ServiceAcceptor.h:27:9: warning: 'int CServiceAcceptor::s' [-Wreorder] 27 | SOCKET s; | ^ ServiceAcceptor.cpp:56:1: warning: when initialized here [-Wreorder] 56 | CServiceAcceptor::CServiceAcceptor(IService * pService, std::string pName, unsigned short port, int pMaxClientsPerThread, IServer::BindTarget bindTarget) | ^~~~~~~~~~~~~~~~ ServiceAcceptor.cpp:68:6: warning: unused variable 'rc' [-Wunused-variable] 68 | int rc; | ^~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:150:3: warning: deleting object of polymorphic class type 'CServiceWorker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 150 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ ServiceAcceptor.cpp: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.cpp:65:6: warning: ignoring return value of 'int pipe(int*)' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | pipe(xpipe); | ~~~~^~~~~~~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:120:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | write(xpipe[1], &ch, 1); | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Mutex_lin.o `test -f 'Mutex_lin.cpp' || echo './'`Mutex_lin.cpp In file included from Mutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Mutex_lin.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-SessionMgr.o `test -f 'SessionMgr.cpp' || echo './'`SessionMgr.cpp In file included from SessionMgr.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from SessionMgr.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Template.o `test -f 'Template.cpp' || echo './'`Template.cpp In file included from Template.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Template.cpp:24: Server.h: At global scope: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Template.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Template.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Template.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Template.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Template.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from Template.cpp:21: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-WorkerThread.o `test -f 'WorkerThread.cpp' || echo './'`WorkerThread.cpp In file included from WorkerThread.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from WorkerThread.cpp:28: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ WorkerThread.cpp: In member function 'virtual void CWorkerThread::operator()()': WorkerThread.cpp:66:10: warning: unused variable 'nq' [-Wunused-variable] 66 | size_t nq=0; | ^~ In file included from WorkerThread.cpp:28: Interface/File.h: At global scope: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from WorkerThread.cpp:23: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-file_common.o `test -f 'file_common.cpp' || echo './'`file_common.cpp In file included from file_common.cpp:19: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_common.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_common.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_common.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_common.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_common.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from file_common.cpp:19: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-OutputStream.o `test -f 'OutputStream.cpp' || echo './'`OutputStream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Database.o `test -f 'Database.cpp' || echo './'`Database.cpp In file included from Database.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:36: Query.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:42: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from Database.cpp:48: Database.h: At global scope: Database.h:95:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:48: Database.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Database.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:49: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database.cpp: In destructor 'virtual CDatabase::~CDatabase()': Database.cpp:112:3: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 112 | delete q; | ^~~~~~~~ Database.cpp: In member function 'virtual db_results CDatabase::Read(std::string)': Database.cpp:228:3: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 228 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual bool CDatabase::Write(std::string)': Database.cpp:242:3: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 242 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyQuery(IQuery*)': Database.cpp:469:4: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 469 | delete cq; | ^~~~~~~~~ Database.cpp:475:2: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 475 | delete cq; | ^~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyAllQueries()': Database.cpp:485:3: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 485 | delete cq; | ^~~~~~~~~ In file included from Database.cpp:49: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Database.cpp:42: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Database.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-SettingsReader.o `test -f 'SettingsReader.cpp' || echo './'`SettingsReader.cpp In file included from SettingsReader.cpp:20: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-LookupService.o `test -f 'LookupService.cpp' || echo './'`LookupService.cpp In file included from LookupService.cpp:19: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from main.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from main.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from main.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from main.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from main.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:34: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main_fkt(int, char**)': main.cpp:499:7: warning: unused variable 'rc' [-Wunused-variable] 499 | int rc=getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ main.cpp:529:7: warning: unused variable 'rc' [-Wunused-variable] 529 | int rc = getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ main.cpp:628:2: warning: deleting object of polymorphic class type 'CLoadbalancerClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 628 | delete lbs; | ^~~~~~~~~~ main.cpp:633:2: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 633 | delete Server; | ^~~~~~~~~~~~~ main.cpp:405:8: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | dup(i); | ~~~^~~ main.cpp:406:8: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | dup(i); | ~~~^~~ In file included from main.cpp:34: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from main.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-mt19937ar.o `test -f 'mt19937ar.cpp' || echo './'`mt19937ar.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-DBSettingsReader.o `test -f 'DBSettingsReader.cpp' || echo './'`DBSettingsReader.cpp In file included from DBSettingsReader.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h: At global scope: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from DBSettingsReader.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from DBSettingsReader.cpp:23: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-file_linux.o `test -f 'file_linux.cpp' || echo './'`file_linux.cpp In file included from file_linux.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_linux.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from file_linux.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-StaticPluginRegistration.o `test -f 'StaticPluginRegistration.cpp' || echo './'`StaticPluginRegistration.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Condition_lin.o `test -f 'Condition_lin.cpp' || echo './'`Condition_lin.cpp In file included from Condition_lin.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Condition_lin.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-SQLiteFactory.o `test -f 'SQLiteFactory.cpp' || echo './'`SQLiteFactory.cpp In file included from SQLiteFactory.cpp:22: Database.h:95:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SQLiteFactory.cpp:22: Database.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Table.o `test -f 'Table.cpp' || echo './'`Table.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-FileSettingsReader.o `test -f 'FileSettingsReader.cpp' || echo './'`FileSettingsReader.cpp In file included from FileSettingsReader.cpp:20: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h: At global scope: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ FileSettingsReader.cpp: In member function 'void CFileSettingsReader::read(const string&)': FileSettingsReader.cpp:70:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 70 | std::auto_ptr file(Server->openFile(pFile)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: At global scope: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from FileSettingsReader.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from FileSettingsReader.cpp:20: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientctl-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:6: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:14: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:63: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-MemoryPipe.o `test -f 'MemoryPipe.cpp' || echo './'`MemoryPipe.cpp In file included from MemoryPipe.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:19: MemoryPipe.h: In constructor 'CMemoryPipe::CMemoryPipe()': MemoryPipe.h:48:7: warning: 'CMemoryPipe::has_error' will be initialized after [-Wreorder] 48 | bool has_error; | ^~~~~~~~~ MemoryPipe.h:47:9: warning: 'size_t CMemoryPipe::waiters' [-Wreorder] 47 | size_t waiters; | ^~~~~~~ MemoryPipe.cpp:25:1: warning: when initialized here [-Wreorder] 25 | CMemoryPipe::CMemoryPipe(void) | ^~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from MemoryPipe.cpp:20: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-escape.o `test -f 'urbackupcommon/escape.cpp' || echo './'`urbackupcommon/escape.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-MemorySettingsReader.o `test -f 'MemorySettingsReader.cpp' || echo './'`MemorySettingsReader.cpp In file included from MemorySettingsReader.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from MemorySettingsReader.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-DatabaseCursor.o `test -f 'DatabaseCursor.cpp' || echo './'`DatabaseCursor.cpp In file included from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: Query.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ DatabaseCursor.cpp: In constructor 'DatabaseCursor::DatabaseCursor(CQuery*, int*)': DatabaseCursor.cpp:28:1: warning: 'DatabaseCursor::db' is initialized with itself [-Winit-self] 28 | DatabaseCursor::DatabaseCursor(CQuery *query, int *timeoutms) | ^~~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from DatabaseCursor.cpp:26: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:6: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:14: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:63: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-CompressedPipe.o `test -f 'urbackupcommon/CompressedPipe.cpp' || echo './'`urbackupcommon/CompressedPipe.cpp In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:84:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:85:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-glob.o `test -f 'urbackupcommon/glob.cpp' || echo './'`urbackupcommon/glob.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-OpenSSLPipe.o `test -f 'OpenSSLPipe.cpp' || echo './'`OpenSSLPipe.cpp In file included from OpenSSLPipe.cpp:3: OpenSSLPipe.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 64 | std::auto_ptr bpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from OpenSSLPipe.h:15, from OpenSSLPipe.cpp:3: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from OpenSSLPipe.cpp:9: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from OpenSSLPipe.h:15, from OpenSSLPipe.cpp:3: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from OpenSSLPipe.cpp:9: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from OpenSSLPipe.h:15, from OpenSSLPipe.cpp:3: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from OpenSSLPipe.cpp:9: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from OpenSSLPipe.h:15, from OpenSSLPipe.cpp:3: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from OpenSSLPipe.cpp:9: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from OpenSSLPipe.h:15, from OpenSSLPipe.cpp:3: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ OpenSSLPipe.cpp: In member function 'virtual bool OpenSSLPipe::Write(const char*, size_t, int, bool)': OpenSSLPipe.cpp:466:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 466 | if (rc < bsize) | ~~~^~~~~~~ In file included from StreamPipe.h:4, from OpenSSLPipe.h:14, from OpenSSLPipe.cpp:3: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-SharedMutex_lin.o `test -f 'SharedMutex_lin.cpp' || echo './'`SharedMutex_lin.cpp In file included from SharedMutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from SharedMutex_lin.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-InternetServicePipe.o `test -f 'urbackupcommon/InternetServicePipe.cpp' || echo './'`urbackupcommon/InternetServicePipe.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-ThreadPool.o `test -f 'ThreadPool.cpp' || echo './'`ThreadPool.cpp In file included from ThreadPool.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual void CPoolThread::operator()()': ThreadPool.cpp:107:2: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 107 | delete this; | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h: In constructor 'CThreadPool::CThreadPool(size_t, size_t, std::string)': ThreadPool.h:86:14: warning: 'CThreadPool::idle_name' will be initialized after [-Wreorder] 86 | std::string idle_name; | ^~~~~~~~~ ThreadPool.h:49:9: warning: 'size_t CThreadPool::nRunning' [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h:49:9: warning: 'CThreadPool::nRunning' will be initialized after [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.h:48:9: warning: 'size_t CThreadPool::nThreads' [-Wreorder] 48 | size_t nThreads; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h:80:16: warning: 'CThreadPool::dexit' will be initialized after [-Wreorder] 80 | volatile bool dexit; | ^~~~~ ThreadPool.h:65:10: warning: 'IMutex* CThreadPool::mutex' [-Wreorder] 65 | IMutex* mutex; | ^~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual THREADPOOL_TICKET CThreadPool::execute(IThread*, const string&)': ThreadPool.cpp:337:4: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 337 | delete nt; | ^~~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from ThreadPool.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ ThreadPool.cpp: In member function 'virtual bool CThreadPool::waitFor(std::vector, int)': ThreadPool.cpp:287:14: warning: 'starttime' may be used uninitialized in this function [-Wmaybe-uninitialized] 287 | if (ctime - starttime>=timems) | ~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-bufmgr.o `test -f 'urbackupcommon/bufmgr.cpp' || echo './'`urbackupcommon/bufmgr.cpp In file included from urbackupcommon/bufmgr.h:6, from urbackupcommon/bufmgr.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-PipeThrottler.o `test -f 'PipeThrottler.cpp' || echo './'`PipeThrottler.cpp In file included from PipeThrottler.cpp:19: PipeThrottler.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from PipeThrottler.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-json.o `test -f 'urbackupcommon/json.cpp' || echo './'`urbackupcommon/json.cpp In file included from urbackupcommon/json.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/json.cpp: In member function 'void JSON::Value::destroy()': urbackupcommon/json.cpp:275:9: warning: enumeration value 'null_type' not handled in switch [-Wswitch] 275 | switch(data_type) | ^ In file included from urbackupcommon/json.cpp:20: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-InternetServicePipe2.o `test -f 'urbackupcommon/InternetServicePipe2.cpp' || echo './'`urbackupcommon/InternetServicePipe2.cpp In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-ExtentIterator.o `test -f 'urbackupcommon/ExtentIterator.cpp' || echo './'`urbackupcommon/ExtentIterator.cpp In file included from urbackupcommon/ExtentIterator.h:4, from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/ExtentIterator.h: At global scope: urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/ExtentIterator.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/ExtentIterator.h:4, from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-filelist_utils.o `test -f 'urbackupcommon/filelist_utils.cpp' || echo './'`urbackupcommon/filelist_utils.cpp In file included from urbackupcommon/filelist_utils.h:3, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/filelist_utils.h:5, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/filelist_utils.h:5, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/filelist_utils.h:5, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupcommon/filelist_utils.h:3, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-SparseFile.o `test -f 'urbackupcommon/SparseFile.cpp' || echo './'`urbackupcommon/SparseFile.cpp In file included from urbackupcommon/SparseFile.h:3, from urbackupcommon/SparseFile.cpp:1: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In member function 'virtual std::string SparseFile::Read(_u32, bool*)': urbackupcommon/SparseFile.cpp:104:7: warning: unused variable 'read' [-Wunused-variable] 104 | _u32 read = mappedOrigOp(&read_str_op, tr, has_error); | ^~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingReadBufOp::BackingReadBufOp(IFile*, char*)': urbackupcommon/SparseFile.cpp:124:10: warning: '{anonymous}::BackingReadBufOp::backing_file' will be initialized after [-Wreorder] 124 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:123:10: warning: 'char* {anonymous}::BackingReadBufOp::buffer' [-Wreorder] 123 | char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:113:3: warning: when initialized here [-Wreorder] 113 | BackingReadBufOp(IFile* backing_file, char * buffer) | ^~~~~~~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingWriteBufOp::BackingWriteBufOp(IFile*, const char*)': urbackupcommon/SparseFile.cpp:178:10: warning: '{anonymous}::BackingWriteBufOp::backing_file' will be initialized after [-Wreorder] 178 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:177:16: warning: 'const char* {anonymous}::BackingWriteBufOp::buffer' [-Wreorder] 177 | const char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:167:3: warning: when initialized here [-Wreorder] 167 | BackingWriteBufOp(IFile* backing_file, const char * buffer) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/SparseFile.h:3, from urbackupcommon/SparseFile.cpp:1: urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-WebSocketPipe.o `test -f 'urbackupcommon/WebSocketPipe.cpp' || echo './'`urbackupcommon/WebSocketPipe.cpp In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h:110:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 110 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/WebSocketPipe.h:5, from urbackupcommon/WebSocketPipe.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h:111:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 111 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/WebSocketPipe.h:5, from urbackupcommon/WebSocketPipe.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:5: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h: In constructor 'WebSocketPipe::WebSocketPipe(IPipe*, bool, bool, std::string, bool)': urbackupcommon/WebSocketPipe.h:94:9: warning: 'WebSocketPipe::pipe' will be initialized after [-Wreorder] 94 | IPipe* pipe; | ^~~~ urbackupcommon/WebSocketPipe.h:92:13: warning: 'const bool WebSocketPipe::mask_writes' [-Wreorder] 92 | const bool mask_writes; | ^~~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp:8:1: warning: when initialized here [-Wreorder] 8 | WebSocketPipe::WebSocketPipe(IPipe* pipe, const bool mask_writes, const bool expect_read_mask, std::string pipe_add, bool destroy_pipe) | ^~~~~~~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h:106:14: warning: 'WebSocketPipe::pipe_add' will be initialized after [-Wreorder] 106 | std::string pipe_add; | ^~~~~~~~ urbackupcommon/WebSocketPipe.h:96:13: warning: 'WebSocketPipe::EReadState WebSocketPipe::read_state' [-Wreorder] 96 | EReadState read_state; | ^~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp:8:1: warning: when initialized here [-Wreorder] 8 | WebSocketPipe::WebSocketPipe(IPipe* pipe, const bool mask_writes, const bool expect_read_mask, std::string pipe_add, bool destroy_pipe) | ^~~~~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp: In member function 'virtual bool WebSocketPipe::Write(const char*, size_t, int, bool)': urbackupcommon/WebSocketPipe.cpp:95:9: warning: variable 'payload_len_size' set but not used [-Wunused-but-set-variable] 95 | size_t payload_len_size = 1; | ^~~~~~~~~~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:5: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-FileWrapper.o `test -f 'fsimageplugin/FileWrapper.cpp' || echo './'`fsimageplugin/FileWrapper.cpp In file included from fsimageplugin/FileWrapper.h:3, from fsimageplugin/FileWrapper.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/FileWrapper.cpp:19: fsimageplugin/FileWrapper.h: In constructor 'FileWrapper::FileWrapper(IVHDFile*, int64)': fsimageplugin/FileWrapper.h:43:12: warning: 'FileWrapper::wfile' will be initialized after [-Wreorder] 43 | IVHDFile* wfile; | ^~~~~ fsimageplugin/FileWrapper.h:42:8: warning: 'int64 FileWrapper::offset' [-Wreorder] 42 | int64 offset; | ^~~~~~ fsimageplugin/FileWrapper.cpp:118:1: warning: when initialized here [-Wreorder] 118 | FileWrapper::FileWrapper( IVHDFile* wfile, int64 offset ) | ^~~~~~~~~~~ In file included from fsimageplugin/FileWrapper.h:3, from fsimageplugin/FileWrapper.cpp:19: fsimageplugin/../Interface/File.h: At global scope: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-CompressedPipe2.o `test -f 'urbackupcommon/CompressedPipe2.cpp' || echo './'`urbackupcommon/CompressedPipe2.cpp In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:84:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:85:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h: In constructor 'CompressedPipe2::CompressedPipe2(IPipe*, int)': urbackupcommon/CompressedPipe2.h:79:7: warning: 'CompressedPipe2::has_error' will be initialized after [-Wreorder] 79 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipe2.h:73:8: warning: 'int64 CompressedPipe2::uncompressed_sent_bytes' [-Wreorder] 73 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:75:8: warning: 'CompressedPipe2::sent_flushes' will be initialized after [-Wreorder] 75 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:71:9: warning: 'size_t CompressedPipe2::input_buffer_size' [-Wreorder] 71 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:85:24: warning: 'CompressedPipe2::write_mutex' will be initialized after [-Wreorder] 85 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:76:8: warning: 'int64 CompressedPipe2::last_send_time' [-Wreorder] 76 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-settingslist.o `test -f 'urbackupcommon/settingslist.cpp' || echo './'`urbackupcommon/settingslist.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-CompressedPipeZstd.o `test -f 'urbackupcommon/CompressedPipeZstd.cpp' || echo './'`urbackupcommon/CompressedPipeZstd.cpp In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipe2.h:84:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipe2.h:85:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:80:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h: In constructor 'CompressedPipeZstd::CompressedPipeZstd(IPipe*, int, int)': urbackupcommon/CompressedPipeZstd.h:74:7: warning: 'CompressedPipeZstd::has_error' will be initialized after [-Wreorder] 74 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:68:8: warning: 'int64 CompressedPipeZstd::uncompressed_sent_bytes' [-Wreorder] 68 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:70:8: warning: 'CompressedPipeZstd::sent_flushes' will be initialized after [-Wreorder] 70 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:66:9: warning: 'size_t CompressedPipeZstd::input_buffer_size' [-Wreorder] 66 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:81:24: warning: 'CompressedPipeZstd::write_mutex' will be initialized after [-Wreorder] 81 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:71:8: warning: 'int64 CompressedPipeZstd::last_send_time' [-Wreorder] 71 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp: In member function 'size_t CompressedPipeZstd::ProcessToBuffer(char*, size_t, bool)': urbackupcommon/CompressedPipeZstd.cpp:171:7: warning: variable 'set_out' set but not used [-Wunused-but-set-variable] 171 | bool set_out=false; | ^~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-LRUMemCache.o `test -f 'fsimageplugin/LRUMemCache.cpp' || echo './'`fsimageplugin/LRUMemCache.cpp In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/CompressedFile.h:104:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 46 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 47 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr cond_wait; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:21: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h: In constructor 'LRUMemCache::LRUMemCache(size_t, size_t, size_t)': fsimageplugin/LRUMemCache.h:57:26: warning: 'LRUMemCache::callback' will be initialized after [-Wreorder] 57 | ICacheEvictionCallback* callback; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:46:24: warning: 'std::auto_ptr LRUMemCache::mutex' [-Wreorder] 46 | std::auto_ptr mutex; | ^~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h:55:7: warning: 'LRUMemCache::do_quit' will be initialized after [-Wreorder] 55 | bool do_quit; | ^~~~~~~ fsimageplugin/LRUMemCache.h:53:9: warning: 'size_t LRUMemCache::n_threads_working' [-Wreorder] 53 | size_t n_threads_working; | ^~~~~~~~~~~~~~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/LRUMemCache.h:53:9: warning: 'LRUMemCache::n_threads_working' will be initialized after [-Wreorder] 53 | size_t n_threads_working; | ^~~~~~~~~~~~~~~~~ fsimageplugin/LRUMemCache.h:48:28: warning: 'std::auto_ptr LRUMemCache::cond_wait' [-Wreorder] 48 | std::auto_ptr cond_wait; | ^~~~~~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:21: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-WalCheckpointThread.o `test -f 'urbackupcommon/WalCheckpointThread.cpp' || echo './'`urbackupcommon/WalCheckpointThread.cpp In file included from urbackupcommon/WalCheckpointThread.cpp:19: urbackupcommon/WalCheckpointThread.h:45:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:24: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::checkpoint(bool)': urbackupcommon/WalCheckpointThread.cpp:44:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 44 | std::auto_ptr wal_file(Server->openFile(db_fn+"-wal", mode)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::sync_database()': urbackupcommon/WalCheckpointThread.cpp:203:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 203 | std::auto_ptr rw_wal_file(Server->openFile(db_fn + "-wal", rw_mode)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:24: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-TreeHash.o `test -f 'urbackupcommon/TreeHash.cpp' || echo './'`urbackupcommon/TreeHash.cpp In file included from urbackupcommon/TreeHash.cpp:5: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/TreeHash.cpp:1: urbackupcommon/TreeHash.h: In constructor 'TreeHash::TreeHash(IHashOutput*)': urbackupcommon/TreeHash.h:150:15: warning: 'TreeHash::offset' will be initialized after [-Wreorder] 150 | unsigned int offset; | ^~~~~~ urbackupcommon/TreeHash.h:145:7: warning: 'bool TreeHash::has_sparse' [-Wreorder] 145 | bool has_sparse; | ^~~~~~~~~~ urbackupcommon/TreeHash.cpp:9:1: warning: when initialized here [-Wreorder] 9 | TreeHash::TreeHash(IHashOutput* hash_output) | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/TreeHash.cpp:1: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-chunk_hasher.o `test -f 'urbackupcommon/chunk_hasher.cpp' || echo './'`urbackupcommon/chunk_hasher.cpp In file included from urbackupcommon/chunk_hasher.h:3, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/ExtentIterator.h: At global scope: urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/chunk_hasher.cpp:21: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.cpp:25: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h: At global scope: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool build_chunk_hashs(IFile*, IFile*, INotEnoughSpaceCallback*, IFsFile*, bool, int64*, IFile*, bool, IHashFunc*, IExtentIterator*, std::pair)': urbackupcommon/chunk_hasher.cpp:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 129 | std::auto_ptr chunk_hashes; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:122:7: warning: unused variable 'n_chunks' [-Wunused-variable] 122 | _i64 n_chunks=c_checkpoint_dist/c_small_hash_dist; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:151:7: warning: variable 'has_sparse_extent' set but not used [-Wunused-but-set-variable] 151 | bool has_sparse_extent = false; | ^~~~~~~~~~~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool writeRepeatFreeSpace(IFile*, const char*, size_t, INotEnoughSpaceCallback*)': urbackupcommon/chunk_hasher.cpp:629:7: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 629 | if(rc!=bsize) | ~~^~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.h:3, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-CompressedFile.o `test -f 'fsimageplugin/CompressedFile.cpp' || echo './'`fsimageplugin/CompressedFile.cpp In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:104:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:20: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:28: fsimageplugin/LRUMemCache.h: At global scope: fsimageplugin/LRUMemCache.h:46:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 46 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:28: fsimageplugin/LRUMemCache.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 47 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:28: fsimageplugin/LRUMemCache.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr cond_wait; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(std::string, int, size_t)': fsimageplugin/CompressedFile.h:96:7: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 96 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:80:10: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 80 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:98:7: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 98 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:76:10: warning: '__int64 CompressedFile::filesize' [-Wreorder] 76 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:106:9: warning: 'CompressedFile::n_threads' will be initialized after [-Wreorder] 106 | size_t n_threads; | ^~~~~~~~~ fsimageplugin/CompressedFile.h:83:9: warning: 'size_t CompressedFile::numBlockOffsets' [-Wreorder] 83 | size_t numBlockOffsets; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(IFile*, bool, bool, size_t)': fsimageplugin/CompressedFile.h:96:7: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 96 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:80:10: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 80 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:98:7: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 98 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:85:9: warning: 'IFile* CompressedFile::uncompressedFile' [-Wreorder] 85 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:85:9: warning: 'CompressedFile::uncompressedFile' will be initialized after [-Wreorder] 85 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:76:10: warning: '__int64 CompressedFile::filesize' [-Wreorder] 76 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:106:9: warning: 'CompressedFile::n_threads' will be initialized after [-Wreorder] 106 | size_t n_threads; | ^~~~~~~~~ fsimageplugin/CompressedFile.h:83:9: warning: 'size_t CompressedFile::numBlockOffsets' [-Wreorder] 83 | size_t numBlockOffsets; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:20: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-cowfile.o `test -f 'fsimageplugin/cowfile.cpp' || echo './'`fsimageplugin/cowfile.cpp In file included from fsimageplugin/cowfile.cpp:30: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/cowfile.cpp:23: fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const string&, bool, uint64)': fsimageplugin/cowfile.h:60:7: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:7: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:62:1: warning: when initialized here [-Wreorder] 62 | CowFile::CowFile(const std::string &fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ In file included from fsimageplugin/cowfile.cpp:23: fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const string&, const string&, bool, uint64)': fsimageplugin/cowfile.h:60:7: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:7: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:200:1: warning: when initialized here [-Wreorder] 200 | CowFile::CowFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ fsimageplugin/cowfile.cpp:207:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 207 | std::auto_ptr parentf(Server->openFile(parent_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp:219:27: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 219 | if(pDstsize>0 && pDstsize!=filesize) | ~~~~~~~~^~~~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::saveBitmap()': fsimageplugin/cowfile.cpp:577:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 577 | std::auto_ptr bitmap_file(Server->openFile(filename+".bitmap", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::loadBitmap(const string&)': fsimageplugin/cowfile.cpp:596:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 596 | std::auto_ptr bitmap_file(Server->openFile(bitmap_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::trimUnused(_i64, _i64, ITrimCallback*)': fsimageplugin/cowfile.cpp:763:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 763 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::syncBitmap(_i64)': fsimageplugin/cowfile.cpp:875:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 875 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../../Interface/File.h: At global scope: fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fsimageplugin/cowfile.cpp:30: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-os_functions_lin.o `test -f 'urbackupcommon/os_functions_lin.cpp' || echo './'`urbackupcommon/os_functions_lin.cpp In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/server_compat.h:3, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_remove_nonempty_dir(const string&, os_symlink_callback_t, void*, bool)': urbackupcommon/os_functions_lin.cpp:518:8: warning: unused variable 'ok' [-Wunused-variable] 518 | bool ok=true; | ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:641:13: warning: unused variable 'tmp' [-Wunused-variable] 641 | in_addr tmp; | ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1306:6: warning: unused variable 'io_prio' [-Wunused-variable] 1306 | int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); | ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1307:6: warning: unused variable 'cpu_prio' [-Wunused-variable] 1307 | int cpu_prio = getpriority(PRIO_PROCESS, 0); | ^~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:31, from urbackupcommon/server_compat.h:8, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': urbackupcommon/../utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = const wchar_t*; octet_iterator = std::back_insert_iterator >]' urbackupcommon/server_compat.h:82:75: required from here urbackupcommon/../utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/server_compat.h: At global scope: urbackupcommon/server_compat.h:70:14: warning: 'std::string {anonymous}::ConvertFromWchar(const wstring&)' defined but not used [-Wunused-function] 70 | std::string ConvertFromWchar(const std::wstring &input) | ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:15: warning: 'std::wstring {anonymous}::ConvertToWchar(const string&)' defined but not used [-Wunused-function] 46 | std::wstring ConvertToWchar(const std::string &input) | ^~~~~~~~~~~~~~ In file included from urbackupcommon/server_compat.h:3, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'std::vector getFiles(const string&, bool*, bool)': urbackupcommon/os_functions_lin.cpp:164:26: warning: 'parent_dev_id' may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | if(ignore_other_fs && S_ISDIR(f_info.st_mode) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | && has_parent_dev_id && parent_dev_id!=f_info.st_dev) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-ClientBitmap.o `test -f 'fsimageplugin/ClientBitmap.cpp' || echo './'`fsimageplugin/ClientBitmap.cpp In file included from fsimageplugin/ClientBitmap.h:4, from fsimageplugin/ClientBitmap.cpp:1: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/ClientBitmap.cpp:4: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/ClientBitmap.cpp: In constructor 'ClientBitmap::ClientBitmap(std::string)': fsimageplugin/ClientBitmap.cpp:16:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 16 | std::auto_ptr bitmap_file(Server->openFile(fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/ClientBitmap.h:3, from fsimageplugin/ClientBitmap.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/ClientBitmap.cpp:3: fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/ClientBitmap.h:4, from fsimageplugin/ClientBitmap.cpp:1: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-partclone.o `test -f 'fsimageplugin/partclone.cpp' || echo './'`fsimageplugin/partclone.cpp In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: fsimageplugin/filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/partclone.cpp:6: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/partclone.cpp: In member function 'void Partclone::init()': fsimageplugin/partclone.cpp:272:8: warning: unused variable 'has_bit' [-Wunused-variable] 272 | bool has_bit = (bitmap_test[offset] >> bit) & 1; | ^~~~~~~ In file included from fsimageplugin/partclone.cpp:6: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o blockalign_src/blockalign-crc32c-adler.o `test -f 'blockalign_src/crc32c-adler.cpp' || echo './'`blockalign_src/crc32c-adler.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientctl-escape.o `test -f 'urbackupcommon/escape.cpp' || echo './'`urbackupcommon/escape.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientbackend-file_metadata.o `test -f 'urbackupcommon/file_metadata.cpp' || echo './'`urbackupcommon/file_metadata.cpp In file included from urbackupcommon/file_metadata.h:5, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.cpp:19: urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupcommon/file_metadata.cpp:26: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/file_metadata.cpp:26: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool write_file_metadata(const string&, INotEnoughSpaceCallback*, const FileMetadata&, bool)': urbackupcommon/file_metadata.cpp:252:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 252 | std::auto_ptr out(Server->openFile(os_file_prefix(out_fn), MODE_RW_CREATE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool read_metadata(const string&, FileMetadata&)': urbackupcommon/file_metadata.cpp:287:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 287 | std::auto_ptr in(Server->openFile(os_file_prefix(in_fn))); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool copy_os_metadata(const string&, const string&, INotEnoughSpaceCallback*)': urbackupcommon/file_metadata.cpp:426:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 426 | std::auto_ptr in_f(Server->openFile(os_file_prefix(in_fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp:427:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 427 | std::auto_ptr out_f(Server->openFile(os_file_prefix(out_fn), MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6, from urbackupcommon/file_metadata.cpp:30: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:5, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o clientctl/urbackupclientctl-tcpstack.o `test -f 'clientctl/tcpstack.cpp' || echo './'`clientctl/tcpstack.cpp In file included from clientctl/tcpstack.cpp:22: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ In file included from clientctl/tcpstack.cpp:21: clientctl/../socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o blockalign_src/blockalign-crc.o `test -f 'blockalign_src/crc.cpp' || echo './'`blockalign_src/crc.cpp blockalign_src/crc.cpp:269:15: warning: 'void cryptopp_crc::SigIllHandlerSSE2(int)' defined but not used [-Wunused-function] 269 | static void SigIllHandlerSSE2(int) | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupclientbackend-adler32.o `test -f 'common/adler32.cpp' || echo './'`common/adler32.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ClientHash.o `test -f 'urbackupclient/ClientHash.cpp' || echo './'`urbackupclient/ClientHash.cpp In file included from urbackupclient/ClientHash.h:4, from urbackupclient/ClientHash.cpp:1: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientHash.cpp:7: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/ClientHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientHash.cpp:9: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ClientHash.cpp:1: urbackupclient/ClientHash.h: In constructor 'ClientHash::ClientHash(IFile*, bool, int64, size_t*, size_t)': urbackupclient/ClientHash.h:34:9: warning: 'ClientHash::snapshot_sequence_id_reference' will be initialized after [-Wreorder] 34 | size_t snapshot_sequence_id_reference; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientHash.h:27:16: warning: 'IVdlVolCache* ClientHash::vdl_vol_cache' [-Wreorder] 27 | IVdlVolCache* vdl_vol_cache; | ^~~~~~~~~~~~~ urbackupclient/ClientHash.cpp:58:1: warning: when initialized here [-Wreorder] 58 | ClientHash::ClientHash(IFile * index_hdat_file, | ^~~~~~~~~~ urbackupclient/ClientHash.cpp: In member function 'bool ClientHash::getShaBinary(const string&, IHashFunc&, bool)': urbackupclient/ClientHash.cpp:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 83 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/ClientHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/ClientHash.cpp:1: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ClientHash.h:4, from urbackupclient/ClientHash.cpp:1: urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupclientbackend-data.o `test -f 'common/data.cpp' || echo './'`common/data.cpp In file included from common/data.cpp:21: common/../stringtools.h: In function 'float {anonymous}::little_endian(float)': common/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'double {anonymous}::little_endian(double)': common/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'float {anonymous}::big_endian(float)': common/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/data.cpp: In member function 'void CWData::addVarInt(int64)': common/data.cpp:428:6: warning: unused variable 'p' [-Wunused-variable] 428 | int p = sqlite3PutVarint(reinterpret_cast(&data[cpos]), ta); | ^ In file included from common/data.cpp:21: common/../stringtools.h: At global scope: common/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ common/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ common/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ common/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ common/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ common/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ common/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp In file included from Server.cpp:40: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:40: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:40: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:40: Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:42: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file.h:4, from Server.cpp:51: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from Server.cpp:55: Database.h: At global scope: Database.h:95:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:55: Database.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:57: PipeThrottler.h:34:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:59: Query.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:64: OpenSSLPipe.h:64:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 64 | std::auto_ptr bpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Server.h:18, from Server.cpp:40: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ Server.cpp: In destructor 'CServer::~CServer()': Server.cpp:284:3: warning: deleting object of polymorphic class type 'CServiceAcceptor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 284 | delete stream_services[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.cpp:335:2: warning: deleting object of polymorphic class type 'CSessionMgr' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 335 | delete sessmgr; | ^~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::string)': Server.cpp:513:8: warning: unused variable 'rc' [-Wunused-variable] 513 | int rc=getpwnam_r(chown_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ Server.cpp: In member function 'virtual THREAD_ID CServer::getThreadID()': Server.cpp:871:20: warning: comparison of integer expressions of different signedness: 'THREAD_ID' {aka 'int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 871 | if( curr_thread_id>=MAX_THREAD_ID ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::randomFill(char*, size_t)': Server.cpp:2050:14: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 2050 | if(dptr-buf>=sizeof(unsigned int)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from Server.cpp:52: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = short unsigned int*; octet_iterator = std::back_insert_iterator >]' Server.cpp:1801:109: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::string)': Server.cpp:516:10: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | chown(plf.c_str(), pw->pw_uid, pw->pw_gid); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Server.cpp:42: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Server.cpp:40: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libfastcgi/urbackupclientbackend-fastcgi.o `test -f 'libfastcgi/fastcgi.cpp' || echo './'`libfastcgi/fastcgi.cpp libfastcgi/fastcgi.cpp: In constructor 'EndRequestMsg::EndRequestMsg()': libfastcgi/fastcgi.cpp:86:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct EndRequestMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 86 | memset(this, 0, sizeof(*this)); | ^ libfastcgi/fastcgi.cpp:75:8: note: 'struct EndRequestMsg' declared here 75 | struct EndRequestMsg : public Header | ^~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In constructor 'UnknownTypeMsg::UnknownTypeMsg()': libfastcgi/fastcgi.cpp:108:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct UnknownTypeMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 108 | memset(this, 0, sizeof(*this)); | ^ libfastcgi/fastcgi.cpp:101:8: note: 'struct UnknownTypeMsg' declared here 101 | struct UnknownTypeMsg : public Header | ^~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In destructor 'FCGIProtocolDriver::~FCGIProtocolDriver()': libfastcgi/fastcgi.cpp:270:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 270 | delete i->second; | ^~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In member function 'void FCGIProtocolDriver::terminate_request(uint16_t)': libfastcgi/fastcgi.cpp:400:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 400 | delete req->second; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/sha2/urbackupclientbackend-sha2.o `test -f 'urbackupcommon/sha2/sha2.cpp' || echo './'`urbackupcommon/sha2/sha2.cpp In file included from urbackupcommon/sha2/sha2.cpp:36: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o blockalign_src/blockalign-main.o `test -f 'blockalign_src/main.cpp' || echo './'`blockalign_src/main.cpp blockalign_src/main.cpp: In constructor 'HashDb::HashDb(std::string)': blockalign_src/main.cpp:257:6: warning: 'HashDb::hFile' will be initialized after [-Wreorder] 257 | int hFile; | ^~~~~ blockalign_src/main.cpp:252:10: warning: 'int* HashDb::view' [-Wreorder] 252 | int* view; | ^~~~ blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ blockalign_src/main.cpp:252:10: warning: 'HashDb::view' will be initialized after [-Wreorder] 252 | int* view; | ^~~~ blockalign_src/main.cpp:251:10: warning: 'bool HashDb::has_error' [-Wreorder] 251 | bool has_error; | ^~~~~~~~~ blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ blockalign_src/main.cpp: In constructor 'BlockMap::BlockMap(std::string, int64_t)': blockalign_src/main.cpp:420:6: warning: 'BlockMap::hFile' will be initialized after [-Wreorder] 420 | int hFile; | ^~~~~ blockalign_src/main.cpp:415:11: warning: 'char* BlockMap::view_start' [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ blockalign_src/main.cpp:415:11: warning: 'BlockMap::view_start' will be initialized after [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ blockalign_src/main.cpp:413:10: warning: 'bool BlockMap::has_error' [-Wreorder] 413 | bool has_error; | ^~~~~~~~~ blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ blockalign_src/main.cpp: In function 'void write_item(unsigned int, size_t, const char*, uint64_t&, int64_t&, int64_t, std::ofstream&, std::ostream&, std::vector&)': blockalign_src/main.cpp:633:13: warning: unused variable 'abc' [-Wunused-variable] 633 | int abc = 4; | ^~~ blockalign_src/main.cpp: In function 'void process_block(uint64_t&, unsigned int, const char*, size_t, HashDb&, OutputBuffer&, std::ofstream&, int64_t&, int64_t, std::ostream&, std::vector&)': blockalign_src/main.cpp:802:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 802 | offset==output_item->first + output_item->second.blockdata.size() + c_fit_off) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockalign_src/main.cpp: In function 'bool restore_stream(const string&, std::istream&, std::ostream&)': blockalign_src/main.cpp:982:17: warning: unused variable 'abc' [-Wunused-variable] 982 | int abc = 45; | ^~~ blockalign_src/main.cpp: In function 'int blockalign(const string&, std::istream&, std::ostream&, bool)': blockalign_src/main.cpp:1079:67: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1079 | if (&out_stream != &std::cout && out_stream.tellp() - start_pos != magic.size() + sizeof(blocksize_avg)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockalign_src/main.cpp:1202:62: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1202 | if (&out_stream != &std::cout && out_stream.tellp() - ppos != blockmap.size() * sizeof(int32_t) + sizeof(bmsize)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockalign_src/main.cpp: In function 'bool restore_stream(const string&, std::istream&, std::ostream&)': blockalign_src/main.cpp:403:28: warning: 'block_map.BlockMap::view' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | return view[blocknr]; | ^ blockalign_src/main.cpp:925:14: note: 'block_map.BlockMap::view' was declared here 925 | BlockMap block_map(in_fn, bmsize); | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupclientbackend-FileClientChunked.o `test -f 'urbackupcommon/fileclient/FileClientChunked.cpp' || echo './'`urbackupcommon/fileclient/FileClientChunked.cpp In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:23: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked(IPipe*, bool, CTCPStack*, FileClientChunked::ReconnectionCallback*, FileClientChunked::NoFreeSpaceCallback*, std::string, FileClientChunked*)': urbackupcommon/fileclient/FileClientChunked.h:233:7: warning: 'FileClientChunked::destroy_pipe' will be initialized after [-Wreorder] 233 | bool destroy_pipe; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:186:13: warning: 'CTCPStack* FileClientChunked::stack' [-Wreorder] 186 | CTCPStack *stack; | ^~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:257:7: warning: 'FileClientChunked::queue_only' will be initialized after [-Wreorder] 257 | bool queue_only; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:256:36: warning: 'FileClientChunked::QueueCallback* FileClientChunked::queue_callback' [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:256:36: warning: 'FileClientChunked::queue_callback' will be initialized after [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:7: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:265:7: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:15: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:276:7: warning: 'FileClientChunked::needs_flush' will be initialized after [-Wreorder] 276 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:7: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:259:7: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:7: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked()': urbackupcommon/fileclient/FileClientChunked.h:252:21: warning: 'FileClientChunked::parent' will be initialized after [-Wreorder] 252 | FileClientChunked* parent; | ^~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:7: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:265:7: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:15: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:274:7: warning: 'FileClientChunked::reconnected' will be initialized after [-Wreorder] 274 | bool reconnected; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:7: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:259:7: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:7: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp: In member function '_u32 FileClientChunked::GetFile(std::string, _i64&, int64, IFile**)': urbackupcommon/fileclient/FileClientChunked.cpp:159:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 159 | std::auto_ptr next(queued_fcs.front()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/../TreeHash.h:3, from urbackupcommon/fileclient/../chunk_hasher.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:32: urbackupcommon/fileclient/../sha2/sha2.h: At global scope: urbackupcommon/fileclient/../sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupclientbackend-miniz.o `test -f 'common/miniz.c' || echo './'`common/miniz.c common/miniz.c:3079:9: note: '#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.' 3079 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-dllmain.o `test -f 'cryptoplugin/dllmain.cpp' || echo './'`cryptoplugin/dllmain.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-pluginmgr.o `test -f 'cryptoplugin/pluginmgr.cpp' || echo './'`cryptoplugin/pluginmgr.cpp In file included from cryptoplugin/pluginmgr.cpp:22: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: At global scope: cryptoplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient_dmsnaptool-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:6: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:14: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:63: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupclientbackend-tcpstack.o `test -f 'urbackupcommon/fileclient/tcpstack.cpp' || echo './'`urbackupcommon/fileclient/tcpstack.cpp In file included from urbackupcommon/fileclient/tcpstack.cpp:22: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupclientctl-os_functions_lin.o `test -f 'urbackupcommon/os_functions_lin.cpp' || echo './'`urbackupcommon/os_functions_lin.cpp In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_remove_nonempty_dir(const string&, os_symlink_callback_t, void*, bool)': urbackupcommon/os_functions_lin.cpp:518:8: warning: unused variable 'ok' [-Wunused-variable] 518 | bool ok=true; | ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:641:13: warning: unused variable 'tmp' [-Wunused-variable] 641 | in_addr tmp; | ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1306:6: warning: unused variable 'io_prio' [-Wunused-variable] 1306 | int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); | ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1307:6: warning: unused variable 'cpu_prio' [-Wunused-variable] 1307 | int cpu_prio = getpriority(PRIO_PROCESS, 0); | ^~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:31, from urbackupcommon/server_compat.h:8, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': urbackupcommon/../utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = const wchar_t*; octet_iterator = std::back_insert_iterator >]' urbackupcommon/server_compat.h:82:75: required from here urbackupcommon/../utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/server_compat.h: At global scope: urbackupcommon/server_compat.h:70:14: warning: 'std::string {anonymous}::ConvertFromWchar(const wstring&)' defined but not used [-Wunused-function] 70 | std::string ConvertFromWchar(const std::wstring &input) | ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:15: warning: 'std::wstring {anonymous}::ConvertToWchar(const string&)' defined but not used [-Wunused-function] 46 | std::wstring ConvertToWchar(const std::string &input) | ^~~~~~~~~~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'std::vector getFiles(const string&, bool*, bool)': urbackupcommon/os_functions_lin.cpp:164:26: warning: 'parent_dev_id' may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | if(ignore_other_fs && S_ISDIR(f_info.st_mode) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | && has_parent_dev_id && parent_dev_id!=f_info.st_dev) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o clientctl/urbackupclientctl-Connector.o `test -f 'clientctl/Connector.cpp' || echo './'`clientctl/Connector.cpp In file included from clientctl/Connector.cpp:27: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from clientctl/Connector.cpp:30: clientctl/../socket_header.h: At global scope: clientctl/../socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from clientctl/Connector.cpp:27: clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-AESDecryption.o `test -f 'cryptoplugin/AESDecryption.cpp' || echo './'`cryptoplugin/AESDecryption.cpp cryptoplugin/AESDecryption.cpp: In member function 'virtual size_t AESDecryption::decrypt(char*, size_t)': cryptoplugin/AESDecryption.cpp:94:9: warning: unused variable 'offset' [-Wunused-variable] 94 | size_t offset=0; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-ZlibCompression.o `test -f 'cryptoplugin/ZlibCompression.cpp' || echo './'`cryptoplugin/ZlibCompression.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-ZlibDecompression.o `test -f 'cryptoplugin/ZlibDecompression.cpp' || echo './'`cryptoplugin/ZlibDecompression.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-pluginmgr.o `test -f 'fsimageplugin/pluginmgr.cpp' || echo './'`fsimageplugin/pluginmgr.cpp In file included from fsimageplugin/pluginmgr.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-AESEncryption.o `test -f 'cryptoplugin/AESEncryption.cpp' || echo './'`cryptoplugin/AESEncryption.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o clientctl/urbackupclientctl-jsoncpp.o `test -f 'clientctl/jsoncpp.cpp' || echo './'`clientctl/jsoncpp.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-cmdline_preprocessor.o `test -f 'urbackupclient/cmdline_preprocessor.cpp' || echo './'`urbackupclient/cmdline_preprocessor.cpp In file included from urbackupclient/cmdline_preprocessor.cpp:20: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h: At global scope: urbackupclient/../Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/bits/locale_conv.h:41, from /usr/include/c++/10/locale:43, from /usr/include/c++/10/iomanip:43, from urbackupclient/../tclap/Arg.h:38, from urbackupclient/../tclap/SwitchArg.h:30, from urbackupclient/../tclap/CmdLine.h:27, from urbackupclient/cmdline_preprocessor.cpp:18: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/bits/locale_conv.h:41, from /usr/include/c++/10/locale:43, from /usr/include/c++/10/iomanip:43, from urbackupclient/../tclap/Arg.h:38, from urbackupclient/../tclap/SwitchArg.h:30, from urbackupclient/../tclap/CmdLine.h:27, from urbackupclient/cmdline_preprocessor.cpp:18: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/10/bits/locale_conv.h:41, from /usr/include/c++/10/locale:43, from /usr/include/c++/10/iomanip:43, from urbackupclient/../tclap/Arg.h:38, from urbackupclient/../tclap/SwitchArg.h:30, from urbackupclient/../tclap/CmdLine.h:27, from urbackupclient/cmdline_preprocessor.cpp:18: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/bits/locale_conv.h:41, from /usr/include/c++/10/locale:43, from /usr/include/c++/10/iomanip:43, from urbackupclient/../tclap/Arg.h:38, from urbackupclient/../tclap/SwitchArg.h:30, from urbackupclient/../tclap/CmdLine.h:27, from urbackupclient/cmdline_preprocessor.cpp:18: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'void read_config_file(std::string, std::vector >&)': urbackupclient/cmdline_preprocessor.cpp:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 103 | std::auto_ptr settings(Server->createFileSettingsReader(fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/bits/locale_conv.h:41, from /usr/include/c++/10/locale:43, from /usr/include/c++/10/iomanip:43, from urbackupclient/../tclap/Arg.h:38, from urbackupclient/../tclap/SwitchArg.h:30, from urbackupclient/../tclap/CmdLine.h:27, from urbackupclient/cmdline_preprocessor.cpp:18: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp:195:3: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 195 | delete static_cast(Server); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'int main(int, char**)': urbackupclient/cmdline_preprocessor.cpp:219:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 219 | for(size_t i=1;iSize()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h: At global scope: urbackupclient/ParallelHash.h:73:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 73 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:105:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 105 | std::auto_ptr extra_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr extra_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h: In constructor 'ParallelHash::ParallelHash(SQueueRef*, int, size_t)': urbackupclient/ParallelHash.h:72:13: warning: 'ParallelHash::phash_queue' will be initialized after [-Wreorder] 72 | SQueueRef* phash_queue; | ^~~~~~~~~~~ urbackupclient/ParallelHash.h:71:8: warning: 'int64 ParallelHash::phash_queue_pos' [-Wreorder] 71 | int64 phash_queue_pos; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:71:8: warning: 'ParallelHash::phash_queue_pos' will be initialized after [-Wreorder] 71 | int64 phash_queue_pos; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:66:9: warning: 'size_t ParallelHash::stdout_buf_size' [-Wreorder] 66 | size_t stdout_buf_size; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:66:9: warning: 'ParallelHash::stdout_buf_size' will be initialized after [-Wreorder] 66 | size_t stdout_buf_size; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:65:9: warning: 'size_t ParallelHash::stdout_buf_pos' [-Wreorder] 65 | size_t stdout_buf_pos; | ^~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:100:8: warning: 'ParallelHash::last_file_buffer_commit_time' will be initialized after [-Wreorder] 100 | int64 last_file_buffer_commit_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:80:6: warning: 'int ParallelHash::sha_version' [-Wreorder] 80 | int sha_version; | ^~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:80:6: warning: 'ParallelHash::sha_version' will be initialized after [-Wreorder] 80 | int sha_version; | ^~~~~~~~~~~ urbackupclient/ParallelHash.h:69:16: warning: 'volatile bool ParallelHash::eof' [-Wreorder] 69 | volatile bool eof; | ^~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:106:28: warning: 'ParallelHash::extra_cond' will be initialized after [-Wreorder] 106 | std::auto_ptr extra_cond; | ^~~~~~~~~~ urbackupclient/ParallelHash.h:97:24: warning: 'std::auto_ptr ParallelHash::modify_file_buffer_mutex' [-Wreorder] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:97:24: warning: 'ParallelHash::modify_file_buffer_mutex' will be initialized after [-Wreorder] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:67:7: warning: 'bool ParallelHash::do_quit_extra' [-Wreorder] 67 | bool do_quit_extra; | ^~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.cpp: In member function 'virtual void ParallelHash::operator()()': urbackupclient/ParallelHash.cpp:130:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr phashf(Server->openFile(phash_queue->phash_queue->getFilename(), mode)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.cpp: In member function 'bool ParallelHash::hashFile(int64, CRData&, ClientDAO&)': urbackupclient/ParallelHash.cpp:268:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 268 | if (dir->files.size() != dir_files) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:343:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 343 | std::auto_ptr f(Server->openFile(os_file_prefix(full_path), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.cpp:424:22: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 424 | dir->files.size() == dir->dir_target_nfiles) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.h:4, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/fs/urbackupclientbackend-unknown.o `test -f 'fsimageplugin/fs/unknown.cpp' || echo './'`fsimageplugin/fs/unknown.cpp In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupclientbackend-FileClient.o `test -f 'urbackupcommon/fileclient/FileClient.cpp' || echo './'`urbackupcommon/fileclient/FileClient.cpp In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:26: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h: In constructor 'FileClient::FileClient(bool, std::string, int, bool, FileClient::ReconnectionCallback*, FileClient::NoFreeSpaceCallback*)': urbackupcommon/fileclient/FileClient.h:270:8: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] 270 | _i64 received_data_bytes; | ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:263:30: warning: 'FileClient::QueueCallback* FileClient::queue_callback' [-Wreorder] 263 | FileClient::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool add_request_checksums, | ^~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h:295:8: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] 295 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:256:8: warning: '_i64 FileClient::real_transferred_bytes' [-Wreorder] 256 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool add_request_checksums, | ^~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:1097:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1097 | std::auto_ptr sparse_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClient.cpp:28: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::FinishScript(std::string)': urbackupcommon/fileclient/FileClient.cpp:2422:7: warning: unused variable 'tries' [-Wunused-variable] 2422 | int tries=5000; | ^~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:26: urbackupcommon/fileclient/../../stringtools.h: At global scope: urbackupcommon/fileclient/../../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:1474:8: warning: 'hash_r' may be used uninitialized in this function [-Wmaybe-uninitialized] 1474 | off+=tc; | ~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sqlite/urbackupclientbackend-shell.o `test -f 'sqlite/shell.c' || echo './'`sqlite/shell.c make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-filesystem.o `test -f 'fsimageplugin/filesystem.cpp' || echo './'`fsimageplugin/filesystem.cpp In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/filesystem.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: At global scope: fsimageplugin/filesystem.cpp:232:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 232 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:233:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 233 | std::auto_ptr start_readahead_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:234:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 234 | std::auto_ptr read_block_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp: In constructor 'Filesystem_ReadaheadThread::Filesystem_ReadaheadThread(Filesystem&, bool)': fsimageplugin/filesystem.cpp:235:14: warning: 'Filesystem_ReadaheadThread::fs' will be initialized after [-Wreorder] 235 | Filesystem& fs; | ^~ fsimageplugin/filesystem.cpp:232:24: warning: 'std::auto_ptr Filesystem_ReadaheadThread::mutex' [-Wreorder] 232 | std::auto_ptr mutex; | ^~~~~ fsimageplugin/filesystem.cpp:79:2: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:243:7: warning: 'Filesystem_ReadaheadThread::do_stop' will be initialized after [-Wreorder] 243 | bool do_stop; | ^~~~~~~ fsimageplugin/filesystem.cpp:239:7: warning: 'bool Filesystem_ReadaheadThread::readahead_miss' [-Wreorder] 239 | bool readahead_miss; | ^~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:79:2: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(const string&, IFSImageFactory::EReadaheadMode, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:142:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 142 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:138:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:138:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:137:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:137:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:116:8: warning: 'int64 Filesystem::errcode' [-Wreorder] 116 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(IFile*, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:142:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 142 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:138:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:138:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:137:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:137:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:116:8: warning: 'int64 Filesystem::errcode' [-Wreorder] 116 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.cpp: In destructor 'virtual Filesystem::~Filesystem()': fsimageplugin/filesystem.cpp:293:3: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 293 | delete buffers[i]; | ^~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::hasBlock(int64)': fsimageplugin/filesystem.cpp:312:8: warning: unused variable 'blocksize' [-Wunused-variable] 312 | int64 blocksize=getBlocksize(); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'bool Filesystem::queueOverlappedReads(bool)': fsimageplugin/filesystem.cpp:628:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 628 | while(block->n_buffers(getBlocksize()); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual void Filesystem::releaseBuffer(IFilesystem::IFsBuffer*)': fsimageplugin/filesystem.cpp:829:2: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 829 | delete simple_buf; | ^~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::excludeFile(const string&)': fsimageplugin/filesystem.cpp:928:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 928 | std::auto_ptr f(Server->openFile(path, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/filesystem.cpp:19: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-ECDHKeyExchange.o `test -f 'cryptoplugin/ECDHKeyExchange.cpp' || echo './'`cryptoplugin/ECDHKeyExchange.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-FSImageFactory.o `test -f 'fsimageplugin/FSImageFactory.cpp' || echo './'`fsimageplugin/FSImageFactory.cpp In file included from fsimageplugin/FSImageFactory.cpp:21: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:157:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:159:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:166:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:172:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:185:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:188:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:191:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:32: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:21: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-AESGCMEncryption.o `test -f 'cryptoplugin/AESGCMEncryption.cpp' || echo './'`cryptoplugin/AESGCMEncryption.cpp In file included from cryptoplugin/AESGCMEncryption.cpp:20: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cryptoplugin/AESGCMEncryption.cpp:19: cryptoplugin/AESGCMEncryption.h: In constructor 'AESGCMEncryption::AESGCMEncryption(const string&, bool)': cryptoplugin/AESGCMEncryption.h:31:42: warning: 'AESGCMEncryption::encryption_filter' will be initialized after [-Wreorder] 31 | CryptoPP::AuthenticatedEncryptionFilter encryption_filter; | ^~~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.h:25:7: warning: 'bool AESGCMEncryption::iv_done' [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ In file included from cryptoplugin/AESGCMEncryption.cpp:19: cryptoplugin/AESGCMEncryption.h:25:7: warning: 'AESGCMEncryption::iv_done' will be initialized after [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.h:24:9: warning: 'size_t AESGCMEncryption::end_marker_state' [-Wreorder] 24 | size_t end_marker_state; | ^~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-AESGCMDecryption.o `test -f 'cryptoplugin/AESGCMDecryption.cpp' || echo './'`cryptoplugin/AESGCMDecryption.cpp In file included from cryptoplugin/AESGCMDecryption.cpp:20: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/fs/urbackupclientbackend-ntfs.o `test -f 'fsimageplugin/fs/ntfs.cpp' || echo './'`fsimageplugin/fs/ntfs.cpp In file included from fsimageplugin/fs/ntfs.cpp:20: fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/fs/../../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/fs/../../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/fs/../../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.cpp:20: fsimageplugin/fs/../../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ClientSend.o `test -f 'urbackupclient/ClientSend.cpp' || echo './'`urbackupclient/ClientSend.cpp In file included from urbackupclient/../urbackupcommon/bufmgr.h:6, from urbackupclient/ClientSend.h:4, from urbackupclient/ClientSend.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientSend.cpp:29: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/bufmgr.h:6, from urbackupclient/ClientSend.h:4, from urbackupclient/ClientSend.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-file_permissions.o `test -f 'urbackupclient/file_permissions.cpp' || echo './'`urbackupclient/file_permissions.cpp In file included from urbackupclient/file_permissions.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/file_permissions.cpp: In function 'bool write_file_only_admin(const string&, const string&)': urbackupclient/file_permissions.cpp:180:7: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 180 | if(rcSize()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:23: fsimageplugin/CompressedFile.h:104:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:36: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:36: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const string&, bool, uint64, unsigned int, bool, bool, size_t)': fsimageplugin/vhdfile.h:187:7: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 187 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:184:9: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 184 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:73:1: warning: when initialized here [-Wreorder] 73 | VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h:191:7: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 191 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:155:9: warning: 'IFile* VHDFile::file' [-Wreorder] 155 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:73:1: warning: when initialized here [-Wreorder] 73 | VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const string&, const string&, bool, bool, bool, uint64, size_t)': fsimageplugin/vhdfile.h:187:7: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 187 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:184:9: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 184 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:168:1: warning: when initialized here [-Wreorder] 168 | VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize, size_t compress_n_threads) | ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h:191:7: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 191 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:155:9: warning: 'IFile* VHDFile::file' [-Wreorder] 155 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:168:1: warning: when initialized here [-Wreorder] 168 | VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize, size_t compress_n_threads) | ^~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::write_footer()': fsimageplugin/vhdfile.cpp:507:28: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 507 | && backing_file->Size() != nextblock_offset + sizeof(VHDFooter)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::read_footer()': fsimageplugin/vhdfile.cpp:517:9: warning: unused variable 'fsize' [-Wunused-variable] 517 | size_t fsize=sizeof(VHDFooter); | ^~~~~ fsimageplugin/vhdfile.cpp: In member function 'virtual bool VHDFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdfile.cpp:1428:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1428 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdfile.cpp:1479:11: warning: unused variable 'has_error' [-Wunused-variable] 1479 | bool has_error = false; | ^~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:22: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.h:2, from fsimageplugin/vhdfile.cpp:19: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-lin_ver.o `test -f 'urbackupclient/lin_ver.cpp' || echo './'`urbackupclient/lin_ver.cpp In file included from urbackupclient/lin_ver.cpp:4: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o clientctl/urbackupclientctl-main.o `test -f 'clientctl/main.cpp' || echo './'`clientctl/main.cpp In file included from clientctl/main.cpp:25: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/main.cpp: In constructor 'PwClientCmd::PwClientCmd(TCLAP::CmdLine&, bool)': clientctl/main.cpp:306:31: warning: 'PwClientCmd::client_arg' will be initialized after [-Wreorder] 306 | TCLAP::ValueArg client_arg; | ^~~~~~~~~~ clientctl/main.cpp:304:7: warning: 'bool PwClientCmd::change' [-Wreorder] 304 | bool change; | ^~~~~~ clientctl/main.cpp:247:2: warning: when initialized here [-Wreorder] 247 | PwClientCmd(TCLAP::CmdLine& cmd, bool change) | ^~~~~~~~~~~ In file included from clientctl/main.cpp:25: clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-common_tokens.o `test -f 'urbackupclient/common_tokens.cpp' || echo './'`urbackupclient/common_tokens.cpp In file included from urbackupclient/common_tokens.cpp:19: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/common_tokens.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/common_tokens.cpp:22: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ServerIdentityMgr.o `test -f 'urbackupclient/ServerIdentityMgr.cpp' || echo './'`urbackupclient/ServerIdentityMgr.cpp In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/ServerIdentityMgr.h:2, from urbackupclient/ServerIdentityMgr.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/ServerIdentityMgr.h:2, from urbackupclient/ServerIdentityMgr.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/ServerIdentityMgr.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ServerIdentityMgr.cpp: In static member function 'static void ServerIdentityMgr::writeSessionIdentities()': urbackupclient/ServerIdentityMgr.cpp:353:9: warning: variable 'start' set but not used [-Wunused-but-set-variable] 353 | size_t start=0; | ^~~~~ urbackupclient/ServerIdentityMgr.cpp: In static member function 'static bool ServerIdentityMgr::write_file_admin_atomic(const string&, const string&)': urbackupclient/ServerIdentityMgr.cpp:392:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 392 | std::auto_ptr f(Server->openFile(fn + ".new", MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/ServerIdentityMgr.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ServerIdentityMgr.cpp:21: urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/ServerIdentityMgr.h:2, from urbackupclient/ServerIdentityMgr.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-dllmain.o `test -f 'urbackupclient/dllmain.cpp' || echo './'`urbackupclient/dllmain.cpp In file included from urbackupclient/dllmain.cpp:56: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:63: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:65: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/dllmain.cpp:66: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/dllmain.cpp:66: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/dllmain.cpp:66: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:66: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/dllmain.cpp:78: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:79: urbackupclient/../urbackupcommon/WalCheckpointThread.h:45:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/dllmain.cpp: In function 'void {anonymous}::do_print_dm_file_extents(const string&)': urbackupclient/dllmain.cpp:166:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 166 | std::auto_ptr f(Server->openFile(fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/dllmain.cpp: In function 'void LoadActions_urbackupclient(IServer*)': urbackupclient/dllmain.cpp:422:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 422 | std::auto_ptr settings_reader(Server->createFileSettingsReader(INITIAL_SETTINGS_PREFIX "initial_settings.cfg")); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:63: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/dllmain.cpp:66: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/dllmain.cpp:66: urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:56: urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-dllmain.o `test -f 'fsimageplugin/dllmain.cpp' || echo './'`fsimageplugin/dllmain.cpp In file included from fsimageplugin/dllmain.cpp:49: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:50: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:52: fsimageplugin/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': fsimageplugin/../urbackupcommon/mbrdata.h:194:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h: At global scope: fsimageplugin/vhdxfile.h:157:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:159:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:166:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:172:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:185:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:188:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h:191:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:61: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:61: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:68: fsimageplugin/CompressedFile.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:68: fsimageplugin/CompressedFile.h:104:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::decompress_vhd(const string&, const string&)': fsimageplugin/dllmain.cpp:114:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 114 | std::auto_ptr vhdfile(new VHDFile(fn, true, 0)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:136:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 136 | std::auto_ptr vhdfile(new VHDXFile(fn, true, 0)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::assemble_vhd(const std::vector >&, const string&)': fsimageplugin/dllmain.cpp:288:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 288 | std::auto_ptr f(Server->openFile(fn[i]+".mbr", MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:378:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 378 | if (mbrdatas[i].partition_number >= partitions.size()) fsimageplugin/dllmain.cpp:397:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 397 | std::auto_ptr vhdout(open_device_file(output, false, total_size, std::string(), true)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:343:15: warning: unused variable 'c_sector_size' [-Wunused-variable] 343 | const int64 c_sector_size=512; | ^~~~~~~~~~~~~ fsimageplugin/dllmain.cpp:395:9: warning: unused variable 'curr_pos' [-Wunused-variable] 395 | int64 curr_pos=0; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'void LoadActions_fsimageplugin(IServer*)': fsimageplugin/dllmain.cpp:922:15: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 922 | if(currpos!=skip) | ~~~~~~~^~~~~~ fsimageplugin/dllmain.cpp:977:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 977 | std::auto_ptr inFile(Server->openFile(vhdmake_in, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1021:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1021 | std::auto_ptr inFile(Server->openFile(vhdmake_diff_in, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1045:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1045 | std::auto_ptr inParentFile(Server->openFile(vhdmake_in_parent, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1175:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1175 | std::auto_ptr in(open_device_file(image_verify)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1304:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1304 | std::auto_ptr in(open_device_file(device_verify)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:51: fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:50: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:49: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupclientbackend-CryptoFactory.o `test -f 'cryptoplugin/CryptoFactory.cpp' || echo './'`cryptoplugin/CryptoFactory.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-lin_tokens.o `test -f 'urbackupclient/lin_tokens.cpp' || echo './'`urbackupclient/lin_tokens.cpp In file included from urbackupclient/lin_tokens.cpp:1: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/lin_tokens.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/lin_tokens.cpp:13: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::vector > tokens::get_local_users()': urbackupclient/lin_tokens.cpp:198:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 198 | pw->pw_uid >= uid_min && | ~~~~~~~~~~~^~~~~~~~~~ urbackupclient/lin_tokens.cpp:199:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 199 | pw->pw_uid <= uid_max )) && | ~~~~~~~~~~~^~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'bool tokens::write_token(std::string, bool, std::string, const string&, ClientDAO&, const string&)': urbackupclient/lin_tokens.cpp:321:16: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 321 | pw->pw_uid < uid_min || | ~~~~~~~~~~~^~~~~~~~~ urbackupclient/lin_tokens.cpp:322:16: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 322 | pw->pw_uid > uid_max ) ) | ~~~~~~~~~~~^~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::string tokens::translate_tokens(uid_t, gid_t, mode_t, ClientDAO*, tokens::ETokenRight, tokens::TokenCache&)': urbackupclient/lin_tokens.cpp:603:8: warning: enumeration value 'ETokenRight_Delete' not handled in switch [-Wswitch] 603 | switch(right) | ^ In file included from urbackupclient/lin_tokens.cpp:13: urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::string tokens::translate_tokens(uid_t, gid_t, mode_t, ClientDAO*, tokens::ETokenRight, tokens::TokenCache&)': urbackupclient/lin_tokens.cpp:670:13: warning: 'igrp' may be used uninitialized in this function [-Wmaybe-uninitialized] 670 | if( (mode & igrp) == igrp) | ~~~~~~^~~~~~~ urbackupclient/lin_tokens.cpp:656:13: warning: 'iusr' may be used uninitialized in this function [-Wmaybe-uninitialized] 656 | if( (mode & iusr) == iusr) | ~~~~~~^~~~~~~ urbackupclient/lin_tokens.cpp:638:17: warning: 'iall' may be used uninitialized in this function [-Wmaybe-uninitialized] 638 | else if( (mode & iall) == iall) | ~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-vhdxfile.o `test -f 'fsimageplugin/vhdxfile.cpp' || echo './'`fsimageplugin/vhdxfile.cpp In file included from fsimageplugin/vhdxfile.h:4, from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h: At global scope: fsimageplugin/vhdxfile.h:157:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:159:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:166:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:172:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:185:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:188:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:191:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:20: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:23: fsimageplugin/CompressedFile.h:104:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdxfile.cpp:28: fsimageplugin/fs/../filesystem.h:133:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdxfile.cpp:28: fsimageplugin/fs/../filesystem.h:134:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h: In constructor 'VHDXFile::VHDXFile(const string&, bool, uint64, unsigned int, bool, bool, size_t)': fsimageplugin/vhdxfile.h:191:24: warning: 'VHDXFile::pending_sector_bitmaps_mutex' will be initialized after [-Wreorder] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:183:7: warning: 'bool VHDXFile::finished' [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:183:7: warning: 'VHDXFile::finished' will be initialized after [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.h:177:8: warning: 'int64 VHDXFile::log_sequence_num' [-Wreorder] 177 | int64 log_sequence_num; | ^~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:179:8: warning: 'VHDXFile::spos' will be initialized after [-Wreorder] 179 | int64 spos; | ^~~~ fsimageplugin/vhdxfile.h:164:7: warning: 'bool VHDXFile::data_write_uuid_updated' [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:164:7: warning: 'VHDXFile::data_write_uuid_updated' will be initialized after [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:161:7: warning: 'bool VHDXFile::is_open' [-Wreorder] 161 | bool is_open; | ^~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:172:24: warning: 'VHDXFile::next_payload_mutex' will be initialized after [-Wreorder] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:166:24: warning: 'std::auto_ptr VHDXFile::log_mutex' [-Wreorder] 166 | std::auto_ptr log_mutex; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h: In constructor 'VHDXFile::VHDXFile(const string&, const string&, bool, bool, bool, uint64, size_t)': fsimageplugin/vhdxfile.h:182:7: warning: 'VHDXFile::read_only' will be initialized after [-Wreorder] 182 | bool read_only; | ^~~~~~~~~ fsimageplugin/vhdxfile.h:162:8: warning: 'int64 VHDXFile::dst_size' [-Wreorder] 162 | int64 dst_size; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:191:24: warning: 'VHDXFile::pending_sector_bitmaps_mutex' will be initialized after [-Wreorder] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:183:7: warning: 'bool VHDXFile::finished' [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:183:7: warning: 'VHDXFile::finished' will be initialized after [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.h:177:8: warning: 'int64 VHDXFile::log_sequence_num' [-Wreorder] 177 | int64 log_sequence_num; | ^~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:179:8: warning: 'VHDXFile::spos' will be initialized after [-Wreorder] 179 | int64 spos; | ^~~~ fsimageplugin/vhdxfile.h:164:7: warning: 'bool VHDXFile::data_write_uuid_updated' [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:164:7: warning: 'VHDXFile::data_write_uuid_updated' will be initialized after [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:161:7: warning: 'bool VHDXFile::is_open' [-Wreorder] 161 | bool is_open; | ^~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/vhdxfile.h:172:24: warning: 'VHDXFile::next_payload_mutex' will be initialized after [-Wreorder] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:166:24: warning: 'std::auto_ptr VHDXFile::log_mutex' [-Wreorder] 166 | std::auto_ptr log_mutex; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:835:32: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 835 | if (pDstsize > 0 && pDstsize != dst_size) | ~~~~~~~~~^~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'virtual bool VHDXFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdxfile.cpp:971:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 971 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from fsimageplugin/vhdxfile.h:7, from fsimageplugin/vhdxfile.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:1022:11: warning: unused variable 'has_error' [-Wunused-variable] 1022 | bool has_error = false; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'virtual bool VHDXFile::setUnused(_i64, _i64)': fsimageplugin/vhdxfile.cpp:1130:10: warning: unused variable 'rc' [-Wunused-variable] 1130 | _u32 rc = file->Write(bat_entry->FileOffsetMB * 1024 * 1024 + unused_start % block_size, | ^~ fsimageplugin/vhdxfile.cpp:1181:45: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and '_i64' {aka 'long long int'} [-Wsign-compare] 1181 | if (copy_prev && unused_start + wantwrite == unused_end && | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'bool VHDXFile::syncInt(bool)': fsimageplugin/vhdxfile.cpp:1659:10: warning: unused variable 'last_log_idx' [-Wunused-variable] 1659 | int64 last_log_idx = -1; | ^~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'bool VHDXFile::readMeta()': fsimageplugin/vhdxfile.cpp:2223:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2223 | if (32 + i * 32 + 32 > meta_table.size()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:2305:23: warning: unused variable 'virtual_disk_id' [-Wunused-variable] 2305 | VhdxVirtualDiskId* virtual_disk_id = reinterpret_cast(entry_buf.data()); | ^~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: At global scope: fsimageplugin/vhdxfile.cpp:299:8: warning: 'int64 {anonymous}::getMetadataSizeSize(int64, _u32, _u32)' defined but not used [-Wunused-function] 299 | int64 getMetadataSizeSize(int64 rawf_size, _u32 block_size, _u32 sector_size) | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:165:20: warning: 'std::vector {anonymous}::getVhdxHeader(uint64)' defined but not used [-Wunused-function] 165 | std::vector getVhdxHeader(uint64 SequenceNumber) | ^~~~~~~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:20: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/vhdxfile.h:4, from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-bufmgr.o `test -f 'fileservplugin/bufmgr.cpp' || echo './'`fileservplugin/bufmgr.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-clientdao.o `test -f 'urbackupclient/clientdao.cpp' || echo './'`urbackupclient/clientdao.cpp In file included from urbackupclient/clientdao.cpp:20: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-dllmain.o `test -f 'fileservplugin/dllmain.cpp' || echo './'`fileservplugin/dllmain.cpp In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/dllmain.cpp:43: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/dllmain.cpp:43: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/dllmain.cpp:46: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/dllmain.cpp:47: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/dllmain.cpp:43: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-CriticalSection.o `test -f 'fileservplugin/CriticalSection.cpp' || echo './'`fileservplugin/CriticalSection.cpp In file included from fileservplugin/CriticalSection.cpp:20: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-TokenCallback.o `test -f 'urbackupclient/TokenCallback.cpp' || echo './'`urbackupclient/TokenCallback.cpp In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/TokenCallback.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:20: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:20: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/TokenCallback.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ImageThread.o `test -f 'urbackupclient/ImageThread.cpp' || echo './'`urbackupclient/ImageThread.cpp In file included from urbackupclient/ImageThread.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ClientService.h:4, from urbackupclient/ImageThread.cpp:30: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:30: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ImageThread.cpp:33: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/ImageThread.cpp:33: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/ImageThread.cpp:33: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:31: urbackupclient/ImageThread.h: In constructor 'ImageThread::ImageThread(ClientConnector*, IPipe*, unsigned int, ImageInformation*, std::string, IFile*, IFile*)': urbackupclient/ImageThread.h:52:19: warning: 'ImageThread::client' will be initialized after [-Wreorder] 52 | ClientConnector *client; | ^~~~~~ urbackupclient/ImageThread.h:50:9: warning: 'IPipe* ImageThread::pipe' [-Wreorder] 50 | IPipe *pipe; | ^~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] 64 | ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, unsigned int curr_result_id, ImageInformation *image_inf, | ^~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:31: urbackupclient/ImageThread.h:62:20: warning: 'ImageThread::image_inf' will be initialized after [-Wreorder] 62 | ImageInformation *image_inf; | ^~~~~~~~~ urbackupclient/ImageThread.h:53:14: warning: 'std::string ImageThread::server_token' [-Wreorder] 53 | std::string server_token; | ^~~~~~~~~~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] 64 | ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, unsigned int curr_result_id, ImageInformation *image_inf, | ^~~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendFullImageThread()': urbackupclient/ImageThread.cpp:136:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 136 | std::auto_ptr hdat_img; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:209:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 209 | std::auto_ptr fs; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:439:4: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 439 | delete clientSend; | ^~~~~~~~~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendIncrImageThread()': urbackupclient/ImageThread.cpp:525:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 525 | std::auto_ptr hdat_img; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:594:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 594 | std::auto_ptr fs; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:618:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 618 | std::auto_ptr previous_bitmap; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:661:12: warning: unused variable 'abc' [-Wunused-variable] 661 | int abc = 5; | ^~~ urbackupclient/ImageThread.cpp:864:10: warning: unused variable 'abc' [-Wunused-variable] 864 | int abc = 5; | ^~~ urbackupclient/ImageThread.cpp:1038:4: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1038 | delete clientSend; | ^~~~~~~~~~~~~~~~~ urbackupclient/ImageThread.cpp:745:10: warning: unused variable 'numblocks' [-Wunused-variable] 745 | int64 numblocks=drivesize/blocksize; | ^~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'std::string ImageThread::getFsErrMsg()': urbackupclient/ImageThread.cpp:1220:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1220 | std::auto_ptr dev(Server->openFile(image_inf->shadowdrive, MODE_READ_DEVICE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/ImageThread.cpp:33: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:27: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:21: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-FileMetadataDownloadThread.o `test -f 'urbackupclient/FileMetadataDownloadThread.cpp' || echo './'`urbackupclient/FileMetadataDownloadThread.cpp In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/FileMetadataDownloadThread.h:2, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In member function 'virtual void client::FileMetadataDownloadThread::operator()()': urbackupclient/FileMetadataDownloadThread.cpp:112:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 112 | std::auto_ptr tmp_f(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In member function 'bool client::FileMetadataDownloadThread::applyMetadata(const str_map&)': urbackupclient/FileMetadataDownloadThread.cpp:144:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 144 | std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:214:9: warning: unused variable 'is_dir' [-Wunused-variable] 214 | bool is_dir = (curr_fn[0]=='d' || curr_fn[0]=='l'); | ^~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In function 'void client::{anonymous}::unserialize_stat_buf(CRData&, stat64&, std::string&)': urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:556:3: note: in expansion of macro 'SET_STAT_MEM' 556 | SET_STAT_MEM(st_dev); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:557:3: note: in expansion of macro 'SET_STAT_MEM' 557 | SET_STAT_MEM(st_mode); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:558:3: note: in expansion of macro 'SET_STAT_MEM' 558 | SET_STAT_MEM(st_uid); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:559:3: note: in expansion of macro 'SET_STAT_MEM' 559 | SET_STAT_MEM(st_gid); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:560:3: note: in expansion of macro 'SET_STAT_MEM' 560 | SET_STAT_MEM(st_rdev); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:570:3: note: in expansion of macro 'SET_STAT_MEM' 570 | SET_STAT_MEM(st_atime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:571:3: note: in expansion of macro 'SET_STAT_MEM32' 571 | SET_STAT_MEM32(st_atim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:572:3: note: in expansion of macro 'SET_STAT_MEM' 572 | SET_STAT_MEM(st_mtime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:573:3: note: in expansion of macro 'SET_STAT_MEM32' 573 | SET_STAT_MEM32(st_mtim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:574:3: note: in expansion of macro 'SET_STAT_MEM' 574 | SET_STAT_MEM(st_ctime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:575:3: note: in expansion of macro 'SET_STAT_MEM32' 575 | SET_STAT_MEM32(st_ctim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:578:9: warning: unused variable 'b' [-Wunused-variable] 578 | bool b = data.getVarInt(&dummy); | ^ urbackupclient/FileMetadataDownloadThread.cpp:582:8: warning: unused variable 'b' [-Wunused-variable] 582 | bool b = data.getStr(&symlink_target); | ^ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/FileMetadataDownloadThread.h:2, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-log.o `test -f 'fileservplugin/log.cpp' || echo './'`fileservplugin/log.cpp In file included from fileservplugin/log.cpp:24: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/log.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-FileServFactory.o `test -f 'fileservplugin/FileServFactory.cpp' || echo './'`fileservplugin/FileServFactory.cpp In file included from fileservplugin/FileServFactory.cpp:24: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/FileServFactory.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/FileServFactory.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileServFactory.cpp:22: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/FileServFactory.cpp: In member function 'virtual void ExecThread::operator()()': fileservplugin/FileServFactory.cpp:51:3: warning: deleting object of polymorphic class type 'ExecThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/FileServFactory.cpp:22: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/FileServFactory.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeFile.o `test -f 'fileservplugin/PipeFile.cpp' || echo './'`fileservplugin/PipeFile.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-main.o `test -f 'fileservplugin/main.cpp' || echo './'`fileservplugin/main.cpp In file included from fileservplugin/main.cpp:27: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.h:13, from fileservplugin/main.cpp:27: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/main.cpp:29: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-pluginmgr.o `test -f 'fileservplugin/pluginmgr.cpp' || echo './'`fileservplugin/pluginmgr.cpp In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/pluginmgr.cpp:20: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/pluginmgr.cpp:20: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/pluginmgr.cpp:22: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/pluginmgr.cpp:20: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-CUDPThread.o `test -f 'fileservplugin/CUDPThread.cpp' || echo './'`fileservplugin/CUDPThread.cpp fileservplugin/CUDPThread.cpp:19: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 19 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.cpp:20: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 20 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CUDPThread.cpp:28: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CUDPThread.cpp:32: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CUDPThread.cpp:32: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CUDPThread.cpp:33: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CUDPThread.cpp: In member function 'virtual void CUDPThread::operator()()': fileservplugin/CUDPThread.cpp:436:3: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 436 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/CUDPThread.cpp:33: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CUDPThread.cpp:32: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-InternetClient.o `test -f 'urbackupclient/InternetClient.cpp' || echo './'`urbackupclient/InternetClient.cpp In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/InternetClient.cpp:27: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:28: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupclient/../urbackupcommon/InternetServicePipe2.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:35: urbackupclient/../urbackupcommon/CompressedPipe2.h:84:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:35: urbackupclient/../urbackupcommon/CompressedPipe2.h:85:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:36: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:80:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:36: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:37: urbackupclient/../urbackupcommon/WebSocketPipe.h:110:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 110 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:37: urbackupclient/../urbackupcommon/WebSocketPipe.h:111:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 111 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClient::operator()()': urbackupclient/InternetClient.cpp:268:2: warning: deleting object of polymorphic class type 'InternetClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 268 | delete this; | ^~~~~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'bool InternetClient::tryToConnect(IScopedLock*)': urbackupclient/InternetClient.cpp:420:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 420 | std::auto_ptr tcpstack(new CTCPStack(true)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:19: urbackupclient/InternetClient.h: In constructor 'InternetClientThread::InternetClientThread(IPipe*, const SServerSettings&, CTCPStack*)': urbackupclient/InternetClient.h:102:18: warning: 'InternetClientThread::server_settings' will be initialized after [-Wreorder] 102 | SServerSettings server_settings; | ^~~~~~~~~~~~~~~ urbackupclient/InternetClient.h:101:13: warning: 'CTCPStack* InternetClientThread::tcpstack' [-Wreorder] 101 | CTCPStack* tcpstack; | ^~~~~~~~ urbackupclient/InternetClient.cpp:523:1: warning: when initialized here [-Wreorder] 523 | InternetClientThread::InternetClientThread(IPipe *cs, const SServerSettings &server_settings, CTCPStack* tcpstack) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClientThread::operator()()': urbackupclient/InternetClient.cpp:687:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 687 | std::auto_ptr ecdh_key_exchange(crypto_fak->createECDHKeyExchange()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/InternetClient.cpp:928:2: warning: deleting object of polymorphic class type 'InternetClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 928 | delete this; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-CTCPFileServ.o `test -f 'fileservplugin/CTCPFileServ.cpp' || echo './'`fileservplugin/CTCPFileServ.cpp In file included from fileservplugin/CTCPFileServ.cpp:21: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.cpp:22: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.h:13, from fileservplugin/CTCPFileServ.cpp:22: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.cpp:23: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/CTCPFileServ.cpp:21: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/CTCPFileServ.cpp:21: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CTCPFileServ.cpp:24: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::KickClients()': fileservplugin/CTCPFileServ.cpp:86:6: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'bool CTCPFileServ::Start(_u16, _u16, std::string, bool)': fileservplugin/CTCPFileServ.cpp:204:3: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 204 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:216:4: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 216 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:163:7: warning: unused variable 'rc' [-Wunused-variable] 163 | _i32 rc; | ^~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::DelClientThreads()': fileservplugin/CTCPFileServ.cpp:344:5: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 344 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-RestoreDownloadThread.o `test -f 'urbackupclient/RestoreDownloadThread.cpp' || echo './'`urbackupclient/RestoreDownloadThread.cpp In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreDownloadThread.h:3, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/RestoreDownloadThread.h:7, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.h:7, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/RestoreDownloadThread.h: At global scope: urbackupclient/RestoreDownloadThread.h:116:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 116 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/RestoreDownloadThread.h:117:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 117 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/RestoreDownloadThread.h:61:7: warning: 'RestoreDownloadThread' has a field 'RestoreDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreDownloadThread.cpp: In member function 'bool RestoreDownloadThread::load_file({anonymous}::SQueueItem)': urbackupclient/RestoreDownloadThread.cpp:208:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 208 | std::auto_ptr dest_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreDownloadThread.h:3, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-map_buffer.o `test -f 'fileservplugin/map_buffer.cpp' || echo './'`fileservplugin/map_buffer.cpp In file included from fileservplugin/map_buffer.cpp:23: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/map_buffer.h:5, from fileservplugin/map_buffer.cpp:29: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/map_buffer.h:5, from fileservplugin/map_buffer.cpp:29: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/map_buffer.h:5, from fileservplugin/map_buffer.cpp:29: fileservplugin/../Interface/File.h: At global scope: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeFileUnix.o `test -f 'fileservplugin/PipeFileUnix.cpp' || echo './'`fileservplugin/PipeFileUnix.cpp In file included from fileservplugin/PipeFile.h:2, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileUnix.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileUnix.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/PipeFile.h: In constructor 'PipeFile::PipeFile(const string&)': fileservplugin/PipeFile.h:43:6: warning: 'PipeFile::hStderr' will be initialized after [-Wreorder] 43 | int hStderr; | ^~~~~~~ fileservplugin/PipeFile.h:42:6: warning: 'int PipeFile::hStdout' [-Wreorder] 42 | int hStdout; | ^~~~~~~ fileservplugin/PipeFileUnix.cpp:48:1: warning: when initialized here [-Wreorder] 48 | PipeFile::PipeFile(const std::string& pCmd) | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:2, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -L/usr/lib -L/usr/lib -o urbackupclientctl clientctl/urbackupclientctl-main.o urbackupcommon/urbackupclientctl-os_functions_lin.o urbackupclientctl-stringtools.o clientctl/urbackupclientctl-Connector.o clientctl/urbackupclientctl-tcpstack.o urbackupcommon/urbackupclientctl-escape.o clientctl/urbackupclientctl-jsoncpp.o -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -Wl,-z,relro -fpie -L/usr/lib -L/usr/lib -o blockalign blockalign_src/blockalign-main.o blockalign_src/blockalign-crc32c-adler.o blockalign_src/blockalign-crc.o -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeFileExt.o `test -f 'fileservplugin/PipeFileExt.cpp' || echo './'`fileservplugin/PipeFileExt.cpp In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h:21:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h: In constructor 'PipeFileExt::PipeFileExt(IPipeFileExt*, std::string)': fileservplugin/PipeFileExt.h:21:30: warning: 'PipeFileExt::file_ext' will be initialized after [-Wreorder] 21 | std::auto_ptr file_ext; | ^~~~~~~~ fileservplugin/PipeFileExt.cpp:4:39: warning: base 'PipeFileBase' [-Wreorder] 4 | : file_ext(file_ext), PipeFileBase(fn) | ^ fileservplugin/PipeFileExt.cpp:3:1: warning: when initialized here [-Wreorder] 3 | PipeFileExt::PipeFileExt(IPipeFileExt * file_ext, std::string fn) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-client_restore.o `test -f 'urbackupclient/client_restore.cpp' || echo './'`urbackupclient/client_restore.cpp In file included from urbackupclient/client_restore.cpp:23: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:26: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:39: urbackupclient/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': urbackupclient/../urbackupcommon/mbrdata.h:194:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function '{anonymous}::EDownloadResult {anonymous}::downloadImage(int, std::string, std::string, bool, {anonymous}::LoginData, {anonymous}::DownloadStatus&, int, int64*, int64*)': urbackupclient/client_restore.cpp:577:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 577 | std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp:605:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 605 | std::auto_ptr out_file(Server->openFile(restore_out, MODE_RW_READNONE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'int {anonymous}::downloadFiles(int, std::string)': urbackupclient/client_restore.cpp:819:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 819 | std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'std::string {anonymous}::getPartitionPath(const string&, int)': urbackupclient/client_restore.cpp:1004:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::SLsblk>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1004 | if(partnum class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1248 | std::auto_ptr dev(Server->openFile(dev_fn, MODE_READ_DEVICE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In constructor 'RestoreThread::RestoreThread(int, std::string, std::string, {anonymous}::LoginData)': urbackupclient/client_restore.cpp:1492:8: warning: 'RestoreThread::output_file_size' will be initialized after [-Wreorder] 1492 | int64 output_file_size; | ^~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1489:12: warning: '{anonymous}::LoginData RestoreThread::login_data' [-Wreorder] 1489 | LoginData login_data; | ^~~~~~~~~~ urbackupclient/client_restore.cpp:1450:2: warning: when initialized here [-Wreorder] 1450 | RestoreThread(int pImg_id, std::string pImg_time, std::string pOutfile, LoginData login_data) | ^~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void restore_wizard()': urbackupclient/client_restore.cpp:2389:35: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2389 | if (partitions.size() - i == mbrdata.partition_number) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2442:11: warning: enumeration value 'EDownloadResult_Ok' not handled in switch [-Wswitch] 2442 | switch(rc) | ^ urbackupclient/client_restore.cpp: In function 'bool {anonymous}::do_login({anonymous}::LoginData&)': urbackupclient/client_restore.cpp:1782:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1782 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1783:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1783 | system("cat urbackup/restore/trying_to_login"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void ping_named_server()': urbackupclient/client_restore.cpp:1568:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | system(("./urbackuprestoreclient --ping-server \""+out+"\" &").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void configure_internet_server()': urbackupclient/client_restore.cpp:1623:10: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1623 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1630:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1630 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1642:10: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1642 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1649:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1649 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1653:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1653 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1655:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1655 | system("systemctl stop restore-client"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1709:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1709 | system("systemctl stop restore-client-internet"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1711:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1711 | system("systemctl start restore-client"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1739:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1739 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp: In function 'void restore_wizard()': urbackupclient/client_restore.cpp:1889:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1889 | system("dialog --msgbox \"`cat urbackup/restore/welcome`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1896:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1896 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1897:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1897 | system("cat urbackup/restore/search_network"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1924:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1924 | system(configure_networkcard.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1929:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1929 | system(configure_wlan.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1934:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1934 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:1956:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1956 | system("urbackup/restore/progress-start.sh | dialog --backtitle \"`cat urbackup/restore/search`\" --gauge \"`cat urbackup/restore/t_progress`\" 6 60 0"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2013:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2013 | system(configure_networkcard.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2018:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2018 | system(configure_wlan.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2033:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2033 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2185:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2185 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:2186:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2186 | system("cat urbackup/restore/loading_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2187:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2192:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2192 | system("touch mbr.dat"); | ~~~~~~^~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2202:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2202 | system("cat urbackup/restore/reading_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2203:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2203 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2233:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2233 | system("cat urbackup/restore/writing_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2234:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2234 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2275:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2275 | system("cat urbackup/restore/writing_gpt_header"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2276:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2276 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2285:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2285 | system("cat urbackup/restore/writing_gpt_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2286:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2286 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2295:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2295 | system("cat urbackup/restore/writing_backup_gpt_header"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2296:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2296 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2304:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2304 | system("cat urbackup/restore/writing_backup_gpt_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2305:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2305 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2315:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2315 | system(("echo -e \"w\\nY\\nY\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2322:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2322 | system(("echo -e \"w\\nY\\nY\" | gdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2338:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2338 | system("cat urbackup/restore/reading_partition_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2339:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2339 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2341:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2341 | system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2343:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2343 | system("cat urbackup/restore/testing_partition"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2344:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2344 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2355:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2355 | system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2357:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2357 | system("cat urbackup/restore/testing_partition"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2358:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2358 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2371:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2371 | system(("echo w | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2372:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2372 | system(("echo -e \"w\\nY\" | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2377:14: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2377 | system(("echo -e \"w\\nY\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2392:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2392 | system("read -n1 -r -p \"Press any key to continue...\" key"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2402:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2402 | system(("echo -e \""+cmd+"\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2429:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2429 | system(("./urbackuprestoreclient --image-download-progress | dialog --backtitle \"`cat urbackup/restore/restoration"+(std::string)(res_sysvol?"_sysvol":"")+"`\" --gauge \"`cat urbackup/restore/t_progress`\" 6 60 0").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2470:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2470 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2502:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2502 | system("init 6"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2506:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2506 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2508:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | system(("python3 driver_edit.py "+windows_partition).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2510:12: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2510 | system("init 6"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2515:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2515 | system("dialog --msgbox \"`cat urbackup/restore/computer_halt`\" 7 50"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2516:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2516 | system("init 0"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2536:11: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2536 | system("dialog --msgbox \"`cat urbackup/restore/internal_error`!!!!\" 7 50"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: At global scope: urbackupclient/client_restore.cpp:450:26: warning: 'std::vector<{anonymous}::SFileBackup> {anonymous}::getFileBackups(std::string, int*)' defined but not used [-Wunused-function] 450 | std::vector getFileBackups(std::string clientname, int *ec) | ^~~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:26: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:23: urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeFileBase.o `test -f 'fileservplugin/PipeFileBase.cpp' || echo './'`fileservplugin/PipeFileBase.cpp In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileBase.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h: In constructor 'PipeFileBase::PipeFileBase(const string&)': fileservplugin/PipeFileBase.h:102:8: warning: 'PipeFileBase::curr_pos' will be initialized after [-Wreorder] 102 | int64 curr_pos; | ^~~~~~~~ fileservplugin/PipeFileBase.h:86:7: warning: 'bool PipeFileBase::has_error' [-Wreorder] 86 | bool has_error; | ^~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:105:9: warning: 'PipeFileBase::buf_r_pos' will be initialized after [-Wreorder] 105 | size_t buf_r_pos; | ^~~~~~~~~ fileservplugin/PipeFileBase.h:104:9: warning: 'size_t PipeFileBase::buf_w_reserved_pos' [-Wreorder] 104 | size_t buf_w_reserved_pos; | ^~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:112:8: warning: 'PipeFileBase::stream_size' will be initialized after [-Wreorder] 112 | int64 stream_size; | ^~~~~~~~~~~ fileservplugin/PipeFileBase.h:106:7: warning: 'bool PipeFileBase::buf_circle' [-Wreorder] 106 | bool buf_circle; | ^~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::SeekInt(_i64)': fileservplugin/PipeFileBase.cpp:94:25: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 94 | else if (seeked_r_pos >= buffer_size && | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::readStderr()': fileservplugin/PipeFileBase.cpp:426:10: warning: unused variable 'timems' [-Wunused-variable] 426 | int64 timems = little_endian(Server->getTimeMS()); | ^~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'void PipeFileBase::readBuf(char*, size_t)': fileservplugin/PipeFileBase.cpp:480:9: warning: unused variable 'ptr_str' [-Wunused-variable] 480 | char* ptr_str = buffer.data(); | ^~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-ChunkSendThread.o `test -f 'fileservplugin/ChunkSendThread.cpp' || echo './'`fileservplugin/ChunkSendThread.cpp In file included from fileservplugin/ChunkSendThread.cpp:20: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:32:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 32 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/ChunkSendThread.h:7, from fileservplugin/ChunkSendThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/ChunkSendThread.h:7, from fileservplugin/ChunkSendThread.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/ChunkSendThread.h: In constructor 'ChunkSendThread::ChunkSendThread(CClientThread*)': fileservplugin/ChunkSendThread.h:43:7: warning: 'ChunkSendThread::has_error' will be initialized after [-Wreorder] 43 | bool has_error; | ^~~~~~~~~ fileservplugin/ChunkSendThread.h:36:29: warning: 'IFileServ::CbtHashFileInfo ChunkSendThread::cbt_hash_file_info' [-Wreorder] 36 | IFileServ::CbtHashFileInfo cbt_hash_file_info; | ^~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:63:1: warning: when initialized here [-Wreorder] 63 | ChunkSendThread::ChunkSendThread(CClientThread *parent) | ^~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp: In member function 'virtual void ChunkSendThread::operator()()': fileservplugin/ChunkSendThread.cpp:180:100: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 180 | if(parent->SendInt(sdata.getDataPtr(), sdata.getDataSize(), chunk.requested_filesize<0)!=sdata.getDataSize()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:195:127: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 195 | if (parent->SendInt(reinterpret_cast(sparse_extents.data()), sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) != sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:237:2: warning: deleting object of polymorphic class type 'ChunkSendThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 237 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-FileServ.o `test -f 'fileservplugin/FileServ.cpp' || echo './'`fileservplugin/FileServ.cpp In file included from fileservplugin/FileServ.cpp:23: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/FileServ.cpp:26: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/FileServ.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/FileServ.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:21: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/FileServ.cpp:27: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/FileServ.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileServ.cpp:27: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:28: fileservplugin/PipeFileExt.h: At global scope: fileservplugin/PipeFileExt.h:21:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/FileServ.cpp:23: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileServ.cpp:19: fileservplugin/FileServ.h: In constructor 'FileServ::FileServ(bool*, const string&, THREADPOOL_TICKET, bool)': fileservplugin/FileServ.h:81:14: warning: 'FileServ::servername' will be initialized after [-Wreorder] 81 | std::string servername; | ^~~~~~~~~~ fileservplugin/FileServ.h:80:20: warning: 'THREADPOOL_TICKET FileServ::serverticket' [-Wreorder] 80 | THREADPOOL_TICKET serverticket; | ^~~~~~~~~~~~ fileservplugin/FileServ.cpp:43:1: warning: when initialized here [-Wreorder] 43 | FileServ::FileServ(bool *pDostop, const std::string &pServername, THREADPOOL_TICKET serverticket, bool use_fqdn) | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/FileServ.cpp:27: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:21: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/FileServ.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-FileMetadataPipe.o `test -f 'fileservplugin/FileMetadataPipe.cpp' || echo './'`fileservplugin/FileMetadataPipe.cpp In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.h:8, from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:115:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:130:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:28: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h: In constructor 'FileMetadataPipe::FileMetadataPipe(IPipe*, const string&)': fileservplugin/FileMetadataPipe.h:116:9: warning: 'FileMetadataPipe::pipe' will be initialized after [-Wreorder] 116 | IPipe* pipe; | ^~~~ fileservplugin/FileMetadataPipe.h:71:14: warning: 'FileMetadataPipe::BackupState FileMetadataPipe::backup_state' [-Wreorder] 71 | BackupState backup_state; | ^~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:115:23: warning: 'FileMetadataPipe::errpipe' will be initialized after [-Wreorder] 115 | std::auto_ptr errpipe; | ^~~~~~~ fileservplugin/FileMetadataPipe.h:106:23: warning: 'std::auto_ptr FileMetadataPipe::metadata_file' [-Wreorder] 106 | std::auto_ptr metadata_file; | ^~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp: In function 'bool {anonymous}::get_xattr(const string&, const string&, std::string&)': fileservplugin/FileMetadataPipe.cpp:1084:14: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1084 | if(bufsizeSize()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:11, from fileservplugin/PipeSessions.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:19: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:115:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:130:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:143:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 143 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:28: fileservplugin/PipeFileExt.h:21:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.cpp: In member function 'virtual void PipeSessions::operator()()': fileservplugin/PipeSessions.cpp:346:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 345 | if( !it->second.retrieving_exit_info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | && (it->second.file!=NULL && currtime - it->second.file->getLastRead() > pipe_file_read_timeout) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/PipeSessions.cpp: In static member function 'static void PipeSessions::transmitFileMetadataAndFiledataWait(const string&, const string&, const string&, const string&, IFile*)': fileservplugin/PipeSessions.cpp:506:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 506 | std::auto_ptr waitpipe(Server->createMemoryPipe()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:2, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeFileTar.o `test -f 'fileservplugin/PipeFileTar.cpp' || echo './'`fileservplugin/PipeFileTar.cpp In file included from fileservplugin/PipeFileTar.cpp:1: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/PipeFileTar.cpp:1: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/PipeFileTar.cpp:1: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileTar.h:4, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.h:8, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: At global scope: fileservplugin/PipeFileTar.h:84:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:143:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 143 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:5: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:115:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:130:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(const string&, int, int64, std::string, const string&, const string&)': fileservplugin/PipeFileTar.h:145:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 145 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:136:8: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 136 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:153:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 153 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:148:8: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 148 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:156:14: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 156 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:141:8: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 141 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(PipeFileTar::PipeFileStore*, const PipeFileTar::STarFile&, int64, int, int64, std::string, const string&, const string&)': fileservplugin/PipeFileTar.h:145:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 145 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:138:11: warning: 'PipeFileTar::STarFile PipeFileTar::tar_file' [-Wreorder] 138 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:138:11: warning: 'PipeFileTar::tar_file' will be initialized after [-Wreorder] 138 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.h:136:8: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 136 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:153:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 153 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:148:8: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 148 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:156:14: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 156 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:141:8: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 141 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp: In member function 'virtual _u32 PipeFileTar::Read(char*, _u32, bool*)': fileservplugin/PipeFileTar.cpp:221:8: warning: unused variable 'pos' [-Wunused-variable] 221 | int64 pos = tar_file.pos; | ^~~ fileservplugin/PipeFileTar.cpp: In member function 'std::string PipeFileTar::buildCurrMetadata()': fileservplugin/PipeFileTar.cpp:368:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 368 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileTar.h:4, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-CClientThread.o `test -f 'fileservplugin/CClientThread.cpp' || echo './'`fileservplugin/CClientThread.cpp In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CClientThread.cpp:26: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.h:13, from fileservplugin/CClientThread.cpp:26: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/CClientThread.cpp:25: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:30: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:33: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:32:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 32 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeFileBase.h:109:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:115:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:130:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(int, CTCPFileServ*)': fileservplugin/CClientThread.h:210:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 210 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:205:7: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 205 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CClientThread::CClientThread(SOCKET pSocket, CTCPFileServ* pParent) | ^~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(IPipe*, CTCPFileServ*, std::vector*)': fileservplugin/CClientThread.h:210:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 210 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:205:7: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 205 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:140:1: warning: when initialized here [-Wreorder] 140 | CClientThread::CClientThread(IPipe *pClientpipe, CTCPFileServ* pParent, std::vector* extra_buffer) | ^~~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::ProcessPacket(CRData*)': fileservplugin/CClientThread.cpp:1231:26: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1231 | if (rc == 0 && rc < count && errno == 0) //other process made the file smaller | ~~~^~~~~~~ fileservplugin/CClientThread.cpp:1126:10: warning: unused variable 'has_error' [-Wunused-variable] 1126 | bool has_error=false; | ^~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileBlockdiff(CRData*, bool)': fileservplugin/CClientThread.cpp:1829:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1829 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:1981:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1981 | srv_file = Server->openFileFromHandle((void*)hFile, filename); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileHashAndMetadata(CRData*)': fileservplugin/CClientThread.cpp:2201:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 2201 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:2201:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2201 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendFullFile(IFile*, _i64, bool)': fileservplugin/CClientThread.cpp:2355:8: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2355 | if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2371:11: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2371 | if (rc == SOCKET_ERROR) fileservplugin/CClientThread.cpp: In static member function 'static std::string CClientThread::getDummyMetadata(std::string, int64, int64, bool)': fileservplugin/CClientThread.cpp:2606:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 2606 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendSparseExtents(const std::vector&)': fileservplugin/CClientThread.cpp:2860:8: warning: unused variable 'last_sparse_pos' [-Wunused-variable] 2860 | int64 last_sparse_pos = 0; | ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2861:9: warning: unused variable 'curr_sparse_ext' [-Wunused-variable] 2861 | size_t curr_sparse_ext = 0; | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:34: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ClientServiceCMD.o `test -f 'urbackupclient/ClientServiceCMD.cpp' || echo './'`urbackupclient/ClientServiceCMD.cpp In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:22: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_GET_CHALLENGE(const string&, const string&)': urbackupclient/ClientServiceCMD.cpp:155:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 155 | std::auto_ptr settings( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_TOCHANNEL_UPDATE_SETTINGS(const string&)': urbackupclient/ClientServiceCMD.cpp:1443:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1443 | std::auto_ptr new_settings(Server->createMemorySettingsReader(s_settings)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp:1444:9: warning: unused variable 'default_dirs_use' [-Wunused-variable] 1444 | bool default_dirs_use = false; | ^~~~~~~~~~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_LOGDATA(const string&)': urbackupclient/ClientServiceCMD.cpp:1509:9: warning: unused variable 'cpos' [-Wunused-variable] 1509 | size_t cpos=ldata.find(" "); | ^~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_GET_ACCESS_PARAMS(str_map&)': urbackupclient/ClientServiceCMD.cpp:2870:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 2870 | std::auto_ptr settings( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_FILE_RESTORE(const string&)': urbackupclient/ClientServiceCMD.cpp:2993:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 2993 | std::auto_ptr access_keys( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp:3042:4: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3042 | delete restore_files; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_RESTORE_OK(str_map&)': urbackupclient/ClientServiceCMD.cpp:3085:2: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3085 | delete restore_files; | ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-RestoreFiles.o `test -f 'urbackupclient/RestoreFiles.cpp' || echo './'`urbackupclient/RestoreFiles.cpp In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:19: urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:19: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:20: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h: At global scope: urbackupclient/RestoreDownloadThread.h:116:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 116 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h:117:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 117 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h:61:7: warning: 'RestoreDownloadThread' has a field 'RestoreDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:129:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 129 | std::auto_ptr update_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:130:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 130 | std::auto_ptr update_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In constructor '{anonymous}::RestoreUpdaterThread::RestoreUpdaterThread(int64, int64, int64, std::string)': urbackupclient/RestoreFiles.cpp:131:8: warning: '{anonymous}::RestoreUpdaterThread::stopped' will be initialized after [-Wreorder] 131 | bool stopped; | ^~~~~~~ urbackupclient/RestoreFiles.cpp:130:29: warning: 'std::auto_ptr {anonymous}::RestoreUpdaterThread::update_cond' [-Wreorder] 130 | std::auto_ptr update_cond; | ^~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:3: warning: when initialized here [-Wreorder] 54 | RestoreUpdaterThread(int64 local_process_id, int64 restore_id, int64 status_id, std::string server_token) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:137:15: warning: '{anonymous}::RestoreUpdaterThread::server_token' will be initialized after [-Wreorder] 137 | std::string server_token; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:134:7: warning: 'int {anonymous}::RestoreUpdaterThread::curr_fn_pc' [-Wreorder] 134 | int curr_fn_pc; | ^~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:3: warning: when initialized here [-Wreorder] 54 | RestoreUpdaterThread(int64 local_process_id, int64 restore_id, int64 status_id, std::string server_token) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'virtual void {anonymous}::RestoreUpdaterThread::operator()()': urbackupclient/RestoreFiles.cpp:87:4: warning: deleting object of polymorphic class type '{anonymous}::RestoreUpdaterThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 87 | delete this; | ^~~~~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'virtual void RestoreFiles::operator()()': urbackupclient/RestoreFiles.cpp:299:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 299 | std::auto_ptr delete_this(this); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:355:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 355 | std::auto_ptr metadata_thread(new client::FileMetadataDownloadThread(*this, fc_metadata, client_token)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::openFiles(std::map, IFsFile*>&, bool&)': urbackupclient/RestoreFiles.cpp:907:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 907 | std::auto_ptr orig_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_RESTORE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:931:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 931 | std::auto_ptr restore_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_CREATE_RESTORE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::downloadFiles(FileClient&, int64, ScopedRestoreUpdater&, std::map, IFsFile*>&)': urbackupclient/RestoreFiles.cpp:961:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 961 | std::auto_ptr fc_chunked = createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:981:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 981 | std::auto_ptr restore_download(new RestoreDownloadThread(fc, *fc_chunked, client_token, metadata_path_mapping, *this)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1471:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1471 | std::auto_ptr orig_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1617:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1617 | std::auto_ptr hashf; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1618:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1618 | std::auto_ptr hashf2; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1723:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1723 | std::auto_ptr touch_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: At global scope: urbackupclient/RestoreFiles.cpp:1851:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1851 | std::auto_ptr RestoreFiles::createFcChunked() | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'std::auto_ptr RestoreFiles::createFcChunked()': urbackupclient/RestoreFiles.cpp:1857:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1857 | return std::auto_ptr(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1860:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1860 | return std::auto_ptr(new FileClientChunked(conn, true, &tcpstack, this, | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dmsnaptool/urbackupclient_dmsnaptool-main.o `test -f 'dmsnaptool/main.cpp' || echo './'`dmsnaptool/main.cpp In file included from dmsnaptool/main.cpp:22: dmsnaptool/../stringtools.h: In function 'float {anonymous}::little_endian(float)': dmsnaptool/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h: In function 'double {anonymous}::little_endian(double)': dmsnaptool/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h: In function 'float {anonymous}::big_endian(float)': dmsnaptool/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/main.cpp: In function 'bool do_create_dm_dev(uint64_t, uint64_t, const string&, const string&, bool, const string&, uint32_t)': dmsnaptool/main.cpp:84:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 84 | if (!dm_task_add_target(dmt, start, size, ttype.c_str(), params.c_str())) | ^~ dmsnaptool/main.cpp:87:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 87 | if (!dm_task_set_add_node(dmt, DM_ADD_NODE_ON_RESUME)) | ^~ In file included from dmsnaptool/main.cpp:22: dmsnaptool/../stringtools.h: At global scope: dmsnaptool/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -L/usr/lib -L/usr/lib -o urbackupclient_dmsnaptool dmsnaptool/urbackupclient_dmsnaptool-main.o urbackupclient_dmsnaptool-stringtools.o -ldevmapper -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ClientService.o `test -f 'urbackupclient/ClientService.cpp' || echo './'`urbackupclient/ClientService.cpp In file included from urbackupclient/ClientService.h:4, from urbackupclient/ClientService.cpp:19: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientService.cpp:19: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientService.cpp:20: urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:20: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientService.cpp:42: urbackupclient/../urbackupcommon/CompressedPipe2.h: At global scope: urbackupclient/../urbackupcommon/CompressedPipe2.h:84:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:42: urbackupclient/../urbackupcommon/CompressedPipe2.h:85:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:43: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:80:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:43: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:44: urbackupclient/../urbackupcommon/InternetServicePipe2.h:78:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:44: urbackupclient/../urbackupcommon/InternetServicePipe2.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:44: urbackupclient/../urbackupcommon/InternetServicePipe2.h:88:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:44: urbackupclient/../urbackupcommon/InternetServicePipe2.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::UpdateSilentThread::operator()()': urbackupclient/ClientService.cpp:153:4: warning: deleting object of polymorphic class type '{anonymous}::UpdateSilentThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 153 | delete this; | ^~~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::FileservClientThread::operator()()': urbackupclient/ClientService.cpp:214:4: warning: deleting object of polymorphic class type '{anonymous}::FileservClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 214 | delete this; | ^~~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual bool ClientConnector::Run(IRunOtherCallback*)': urbackupclient/ClientService.cpp:354:3: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 354 | delete image_inf.image_thread; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientService.cpp:576:5: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 576 | delete image_inf.image_thread; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientService.cpp:621:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 621 | std::auto_ptr updatefile(Server->openFile(UPDATE_FILE_PREFIX "UrBackupUpdate_untested.dat")); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:359:8: warning: enumeration value 'CCSTATE_FILESERV' not handled in switch [-Wswitch] 359 | switch(state) | ^ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::updateSettings(const string&)': urbackupclient/ClientService.cpp:1825:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1825 | std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1852:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1852 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1942:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1942 | std::auto_ptr newf(Server->openFile(settings_fn + ".new", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::replaceSettings(const string&)': urbackupclient/ClientService.cpp:1960:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1960 | std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1980:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1980 | std::auto_ptr old_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In function 'void parse_devnum_test()': urbackupclient/ClientService.cpp:2507:6: warning: unused variable 'deviceNumber' [-Wunused-variable] 2507 | int deviceNumber, partNumber; | ^~~~~~~~~~~~ urbackupclient/ClientService.cpp:2507:20: warning: unused variable 'partNumber' [-Wunused-variable] 2507 | int deviceNumber, partNumber; | ^~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'std::string ClientConnector::getAccessTokensParams(const string&, bool, const string&)': urbackupclient/ClientService.cpp:3808:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 3808 | std::auto_ptr access_keys( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:3857:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 3857 | std::auto_ptr settings( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In static member function 'static bool ClientConnector::updateDefaultDirsSetting(IDatabase*, bool, int, bool)': urbackupclient/ClientService.cpp:4099:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 4099 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:4162:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 4162 | std::auto_ptr settings_f(Server->openFile(settings_fn+".new_2", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/ClientService.h:4, from urbackupclient/ClientService.cpp:19: urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-client.o `test -f 'urbackupclient/client.cpp' || echo './'`urbackupclient/client.cpp In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40, from urbackupclient/client.cpp:19: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:3: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:306:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:2: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:668:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:729:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:878:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:883:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:10: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:7: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:3: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h: At global scope: urbackupclient/ParallelHash.h:73:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 73 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:79:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 79 | std::auto_ptr client_hash; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:105:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 105 | std::auto_ptr extra_mutex; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 106 | std::auto_ptr extra_cond; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:35: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:2: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:2: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:6: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:2: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/client.cpp:43: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::IndexThread()': urbackupclient/client.h:767:7: warning: 'IndexThread::last_filebackup_filetime' will be initialized after [-Wreorder] 767 | _i64 last_filebackup_filetime; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.h:741:6: warning: 'int IndexThread::index_group' [-Wreorder] 741 | int index_group; | ^~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:752:7: warning: 'IndexThread::with_scripts' will be initialized after [-Wreorder] 752 | bool with_scripts; | ^~~~~~~~~~~~ urbackupclient/client.h:666:17: warning: 'SVolumesCache* IndexThread::volumes_cache' [-Wreorder] 666 | SVolumesCache* volumes_cache; | ^~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:888:13: warning: 'IndexThread::phash_queue' will be initialized after [-Wreorder] 888 | SQueueRef* phash_queue; | ^~~~~~~~~~~ urbackupclient/client.h:711:7: warning: 'bool IndexThread::index_backup_dirs_optional' [-Wreorder] 711 | bool index_backup_dirs_optional; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:711:7: warning: 'IndexThread::index_backup_dirs_optional' will be initialized after [-Wreorder] 711 | bool index_backup_dirs_optional; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.h:701:7: warning: 'bool IndexThread::sc_refs_cleanup' [-Wreorder] 701 | bool sc_refs_cleanup; | ^~~~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ urbackupclient/client.cpp: In member function 'virtual void IndexThread::operator()()': urbackupclient/client.cpp:1500:2: warning: deleting object of polymorphic class type 'IndexThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1500 | delete this; | ^~~~~~~~~~~ urbackupclient/client.cpp:735:8: warning: variable 'async_timeout_starttime' set but not used [-Wunused-but-set-variable] 735 | int64 async_timeout_starttime = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'IndexThread::IndexErrorInfo IndexThread::indexDirs(bool, bool)': urbackupclient/client.cpp:1601:7: warning: variable 'has_stale_shadowcopy' set but not used [-Wunused-but-set-variable] 1601 | bool has_stale_shadowcopy=false; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::updateBackupDirsWithAll()': urbackupclient/client.cpp:2216:9: warning: variable 'found_watch' set but not used [-Wunused-but-set-variable] 2216 | bool found_watch = false; | ^~~~~~~~~~~ urbackupclient/client.cpp: In member function 'std::vector IndexThread::getFilesProxy(const string&, std::string, const string&, bool, const string&, bool, const std::vector >&, const std::vector&, int64&)': urbackupclient/client.cpp:3207:37: warning: variable 'it_dir' set but not used [-Wunused-but-set-variable] 3207 | std::vector::iterator it_dir=changed_dirs.end(); | ^~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cleanup_saved_shadowcopies(bool)': urbackupclient/client.cpp:4008:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4008 | || scs[i].passedtime>shadowcopy_timeout/1000 urbackupclient/client.cpp: In static member function 'static bool IndexThread::backgroundBackupsEnabled(const string&)': urbackupclient/client.cpp:5755:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 5755 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::writeTokens()': urbackupclient/client.cpp:5770:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 5770 | std::auto_ptr access_keys( | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cbtIsEnabled(std::string, std::string)': urbackupclient/client.cpp:6279:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 6279 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::crashPersistentCbtIsEnabled(std::string, std::string)': urbackupclient/client.cpp:6301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 6301 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbt(std::string, int, std::string, bool, std::string, CbtType)': urbackupclient/client.cpp:7508:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 7508 | std::auto_ptr hdat_file(Server->openFile("urbackup/hdat_file_" + conv_filename(fs_dev) + ".dat", MODE_RW_CREATE_DELETE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp:7509:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 7509 | std::auto_ptr hdat_img(ImageThread::openHdatF(fs_dev, false)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp:7525:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 7525 | std::auto_ptr volfile(Server->openFile(orig_dev, MODE_READ_DEVICE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbtDatto(IFile*, IFsFile*, IFsFile*, std::string, int, std::string, bool, std::string)': urbackupclient/client.cpp:7707:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 7707 | std::auto_ptr cowfile(Server->openFile(cbt_file, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbtEra2(IFsFile*, int64)': urbackupclient/client.cpp:8177:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 8177 | std::auto_ptr hdat_file_era_new(Server->openFile(hdat->getFilename() + ".era.new", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const string&, std::string)': urbackupclient/client.cpp:8393:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 8393 | std::auto_ptr output_f(Server->openFile(fn, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const string&, const string&, IFile*)': urbackupclient/client.cpp:8418:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 8418 | std::auto_ptr f(Server->openFile(os_file_prefix(path + os_file_sep() + files[i].name), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::start_shadowcopy_lin(SCDirs*, std::string&, bool, bool*&, bool*)': urbackupclient/client.cpp:8968:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 8968 | std::auto_ptr flock_f(Server->openFile(flock_fp, MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In static member function 'static std::string IndexThread::get_snapshot_script_location(const string&, const string&)': urbackupclient/client.cpp:9089:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 9089 | std::auto_ptr settings(Server->createFileSettingsReader(conffile)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::readSnapshotGroups()': urbackupclient/client.cpp:9284:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 9284 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::initParallelHashing(const string&)': urbackupclient/client.cpp:9553:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 9553 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: urbackupclient/tokens.h:12:15: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbtEra(IFsFile*, IFsFile*, std::string, int, std::string, bool, std::string, int64&, int64&)': urbackupclient/client.cpp:8054:6: warning: 'xml_node_close' may be used uninitialized in this function [-Wmaybe-uninitialized] 8052 | if (xml_loc == XmlLoc_Init && | ~~~~~~~~~~~~~~~~~~~~~~~~~ 8053 | xml_node_name == "superblock" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8054 | && !xml_node_close) | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' x86_64-alt-linux-g++ -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -L/usr/lib -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackupclientbackend urbackupclientbackend-AcceptThread.o urbackupclientbackend-Client.o urbackupclientbackend-Database.o urbackupclientbackend-Query.o urbackupclientbackend-SelectThread.o urbackupclientbackend-Server.o urbackupclientbackend-ServerLinux.o urbackupclientbackend-ServiceAcceptor.o urbackupclientbackend-ServiceWorker.o urbackupclientbackend-SessionMgr.o urbackupclientbackend-StreamPipe.o urbackupclientbackend-Template.o urbackupclientbackend-WorkerThread.o urbackupclientbackend-main.o urbackupclientbackend-md5.o urbackupclientbackend-stringtools.o libfastcgi/urbackupclientbackend-fastcgi.o urbackupclientbackend-Mutex_lin.o urbackupclientbackend-LoadbalancerClient.o urbackupclientbackend-DBSettingsReader.o urbackupclientbackend-file_common.o urbackupclientbackend-file_fstream.o urbackupclientbackend-file_linux.o urbackupclientbackend-FileSettingsReader.o urbackupclientbackend-LookupService.o urbackupclientbackend-SettingsReader.o urbackupclientbackend-Table.o urbackupclientbackend-OutputStream.o urbackupclientbackend-ThreadPool.o urbackupclientbackend-MemoryPipe.o urbackupclientbackend-Condition_lin.o urbackupclientbackend-MemorySettingsReader.o sqlite/urbackupclientbackend-shell.o urbackupclientbackend-SQLiteFactory.o urbackupclientbackend-PipeThrottler.o urbackupclientbackend-mt19937ar.o urbackupclientbackend-DatabaseCursor.o urbackupclientbackend-SharedMutex_lin.o urbackupclientbackend-StaticPluginRegistration.o common/urbackupclientbackend-data.o common/urbackupclientbackend-adler32.o urbackupclientbackend-OpenSSLPipe.o urbackupcommon/urbackupclientbackend-os_functions_lin.o urbackupcommon/sha2/urbackupclientbackend-sha2.o urbackupcommon/fileclient/urbackupclientbackend-FileClient.o urbackupcommon/fileclient/urbackupclientbackend-tcpstack.o urbackupcommon/urbackupclientbackend-escape.o urbackupcommon/urbackupclientbackend-bufmgr.o urbackupcommon/urbackupclientbackend-json.o urbackupcommon/urbackupclientbackend-CompressedPipe.o urbackupcommon/urbackupclientbackend-InternetServicePipe2.o urbackupcommon/urbackupclientbackend-settingslist.o urbackupcommon/fileclient/urbackupclientbackend-FileClientChunked.o urbackupcommon/urbackupclientbackend-InternetServicePipe.o urbackupcommon/urbackupclientbackend-filelist_utils.o urbackupcommon/urbackupclientbackend-file_metadata.o urbackupcommon/urbackupclientbackend-glob.o urbackupcommon/urbackupclientbackend-chunk_hasher.o urbackupcommon/urbackupclientbackend-CompressedPipe2.o urbackupcommon/urbackupclientbackend-SparseFile.o urbackupcommon/urbackupclientbackend-ExtentIterator.o urbackupcommon/urbackupclientbackend-TreeHash.o urbackupcommon/urbackupclientbackend-WalCheckpointThread.o urbackupcommon/urbackupclientbackend-WebSocketPipe.o urbackupcommon/urbackupclientbackend-CompressedPipeZstd.o cryptoplugin/urbackupclientbackend-dllmain.o cryptoplugin/urbackupclientbackend-AESDecryption.o cryptoplugin/urbackupclientbackend-CryptoFactory.o cryptoplugin/urbackupclientbackend-pluginmgr.o cryptoplugin/urbackupclientbackend-AESEncryption.o cryptoplugin/urbackupclientbackend-ZlibCompression.o cryptoplugin/urbackupclientbackend-ZlibDecompression.o cryptoplugin/urbackupclientbackend-AESGCMDecryption.o cryptoplugin/urbackupclientbackend-AESGCMEncryption.o cryptoplugin/urbackupclientbackend-ECDHKeyExchange.o fsimageplugin/urbackupclientbackend-dllmain.o fsimageplugin/urbackupclientbackend-filesystem.o fsimageplugin/urbackupclientbackend-FSImageFactory.o fsimageplugin/urbackupclientbackend-pluginmgr.o fsimageplugin/urbackupclientbackend-vhdfile.o fsimageplugin/urbackupclientbackend-vhdxfile.o fsimageplugin/fs/urbackupclientbackend-ntfs.o fsimageplugin/fs/urbackupclientbackend-unknown.o fsimageplugin/urbackupclientbackend-CompressedFile.o fsimageplugin/urbackupclientbackend-LRUMemCache.o fsimageplugin/urbackupclientbackend-cowfile.o fsimageplugin/urbackupclientbackend-FileWrapper.o fsimageplugin/urbackupclientbackend-ClientBitmap.o fsimageplugin/urbackupclientbackend-partclone.o urbackupclient/urbackupclientbackend-dllmain.o urbackupclient/urbackupclientbackend-clientdao.o urbackupclient/urbackupclientbackend-client.o urbackupclient/urbackupclientbackend-ClientService.o urbackupclient/urbackupclientbackend-ClientSend.o urbackupclient/urbackupclientbackend-client_restore.o urbackupclient/urbackupclientbackend-ServerIdentityMgr.o urbackupclient/urbackupclientbackend-ClientServiceCMD.o urbackupclient/urbackupclientbackend-ImageThread.o urbackupclient/urbackupclientbackend-InternetClient.o urbackupclient/urbackupclientbackend-file_permissions.o urbackupclient/urbackupclientbackend-lin_ver.o urbackupclient/urbackupclientbackend-lin_tokens.o urbackupclient/urbackupclientbackend-common_tokens.o urbackupclient/urbackupclientbackend-FileMetadataDownloadThread.o urbackupclient/urbackupclientbackend-RestoreFiles.o urbackupclient/urbackupclientbackend-RestoreDownloadThread.o urbackupclient/urbackupclientbackend-TokenCallback.o common/urbackupclientbackend-miniz.o urbackupclient/urbackupclientbackend-cmdline_preprocessor.o urbackupclient/urbackupclientbackend-ParallelHash.o urbackupclient/urbackupclientbackend-ClientHash.o fileservplugin/urbackupclientbackend-dllmain.o fileservplugin/urbackupclientbackend-bufmgr.o fileservplugin/urbackupclientbackend-CClientThread.o fileservplugin/urbackupclientbackend-CriticalSection.o fileservplugin/urbackupclientbackend-CTCPFileServ.o fileservplugin/urbackupclientbackend-CUDPThread.o fileservplugin/urbackupclientbackend-FileServ.o fileservplugin/urbackupclientbackend-FileServFactory.o fileservplugin/urbackupclientbackend-log.o fileservplugin/urbackupclientbackend-main.o fileservplugin/urbackupclientbackend-map_buffer.o fileservplugin/urbackupclientbackend-pluginmgr.o fileservplugin/urbackupclientbackend-ChunkSendThread.o fileservplugin/urbackupclientbackend-PipeFile.o fileservplugin/urbackupclientbackend-PipeSessions.o fileservplugin/urbackupclientbackend-PipeFileUnix.o fileservplugin/urbackupclientbackend-PipeFileBase.o fileservplugin/urbackupclientbackend-FileMetadataPipe.o fileservplugin/urbackupclientbackend-PipeFileTar.o fileservplugin/urbackupclientbackend-PipeFileExt.o -ldl -lcryptopp -lzstd -L/usr/lib -lsqlite3 -lssl -lcrypto -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.56315 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/urbackup-client-buildroot + : + /bin/rm -rf -- /usr/src/tmp/urbackup-client-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd urbackup-client-2.5.24.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/urbackup-client-buildroot make: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' /bin/mkdir -p '/usr/src/tmp/urbackup-client-buildroot/usr/bin' /usr/libexec/rpm-build/install -p urbackupclientctl blockalign '/usr/src/tmp/urbackup-client-buildroot/usr/bin' mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup" mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/data" /bin/mkdir -p '/usr/src/tmp/urbackup-client-buildroot/usr/sbin' /usr/libexec/rpm-build/install -p urbackupclientbackend urbackupclient_dmsnaptool '/usr/src/tmp/urbackup-client-buildroot/usr/sbin' /bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/" /bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts" /bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/list" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/list" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/list_incr" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/list_incr" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbdump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbdump" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbdump" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresqldump.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqldump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresqldump.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqldump" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqldump" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresbase.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresbase.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresbase.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresbase" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresbase" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqlprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlprebackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqlpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlpostbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/setup-postgresbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/setup-postgresbackup" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup_incr" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup_incr" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/restore-mariadbbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbprebackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbpostbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/setup-mariadbbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/setup-mariadbbackup" for script in "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/"*; do sed "s|SYSCONFDIR|/etc/urbackup|g" "$script" > "$script.r"; mv "$script.r" "$script"; done chmod 700 "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/"* chmod 700 "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/"* /usr/libexec/rpm-build/install -p -m 644 "./client/version.txt" "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/version.txt" /usr/libexec/rpm-build/install -p -m 644 "./client/data/urbackup_ecdsa409k1.pub" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/" /usr/libexec/rpm-build/install -p -m 644 "./client/data/updates_h.dat" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/" make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.24.0' + mkdir -p /usr/src/tmp/urbackup-client-buildroot/lib/systemd/system /usr/src/tmp/urbackup-client-buildroot/usr/share/man/man1 /usr/src/tmp/urbackup-client-buildroot/var/log /usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup + mkdir -p /usr/src/tmp/urbackup-client-buildroot/etc/sysconfig + mkdir -p /usr/src/tmp/urbackup-client-buildroot/etc/rc.d/init.d + install -m 644 defaults_client /usr/src/tmp/urbackup-client-buildroot/etc/sysconfig/urbackupclient + install -m 644 urbackupclientbackend-redhat.service /usr/src/tmp/urbackup-client-buildroot/lib/systemd/system/urbackup-client.service + install -m 644 docs/urbackupclientbackend.1 /usr/src/tmp/urbackup-client-buildroot/usr/share/man/man1/urbackupclientbackend.1 + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/btrfs_create_filesystem_snapshot ']' + install -m 755 linux_snapshot/btrfs_create_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/btrfs_remove_filesystem_snapshot ']' + install -m 755 linux_snapshot/btrfs_remove_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/dattobd_create_snapshot ']' + install -m 755 linux_snapshot/dattobd_create_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/dattobd_remove_snapshot ']' + install -m 755 linux_snapshot/dattobd_remove_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/lvm_create_filesystem_snapshot ']' + install -m 755 linux_snapshot/lvm_create_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/lvm_remove_filesystem_snapshot ']' + install -m 755 linux_snapshot/lvm_remove_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + install -m 644 /usr/src/RPM/SOURCES/urbackup-client-snapshot.cfg /usr/src/tmp/urbackup-client-buildroot/etc/urbackup/snapshot.cfg + touch /usr/src/tmp/urbackup-client-buildroot/var/log/urbackupclient.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/urbackup-client-buildroot (auto) mode of 'usr/share/urbackup/scripts/setup-postgresbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/setup-mariadbbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/restore-mariadbbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqlprebackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqlpostbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqldump' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresbase' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbxtrabackup_incr' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbxtrabackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbprebackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbpostbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbdump' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/list_incr' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/list' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) Verifying and fixing files in /usr/src/tmp/urbackup-client-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/urbackup-client-buildroot/ (default) Compressing files in /usr/src/tmp/urbackup-client-buildroot (auto) Adjusting library links in /usr/src/tmp/urbackup-client-buildroot ./lib: (from :0) ./var/lib: (from :0) Verifying ELF objects in /usr/src/tmp/urbackup-client-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: urbackup-client-2.5.24-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.95741 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.5.24.0 + DOCDIR=/usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + /bin/mkdir -p /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + chmod -R go-w /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + chmod -R a+rX /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.24 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KPySvl 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.wgOwrk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shell.req: /usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf: invalid command: -v shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: dbdctl not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_remove_snapshot: dbdctl not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbdump: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup_incr: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresbase: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqldump: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup: invalid command: -v find-requires: FINDPACKAGE-COMMANDS: btrfs chown cp dbdctl df dmsetup egrep errcho exit_exclude_snapshot_mountpoints find grep losetup lsblk lsof lvcreate lvremove mkdir modprobe mount mv rm rmdir sed service set_filesystem_type sleep su sync systemctl truncate umount Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dTQ6hk Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m0Aqzj Requires: urbackup-common, /bin/bash, /bin/sh, /lib64/ld-linux-x86-64.so.2, btrfs-progs, coreutils, dmsetup, findutils, grep, kmod, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.16)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.25)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.1.1()(64bit) >= set:qkvV2sKMg4jd92qOQCFQ99NXHKtZfK3BmvMEfiau8ch1Zlu2olJgPO0YTLFkV08Z26Upd5ehGiRbFvhoBdoHiMsJzG3fkYdmQgnJVCdGded2, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libcrypto.so.1.1(OPENSSL_1_1_1)(64bit), libcryptopp.so.8()(64bit) >= set:riep90s2q9qiAtct3OOaxqHsK3aXDwdaw7qTCilO9Ag8Cc4muRIAJ2hP985jCWC02KFRvyFs6CN5HCQaywg4IiqIR8Uodg9ZFtkQKyUwa8iE7d5mD4Z8piZK46bZJgJ7WoiRUjPquRqI6P9gy24SUk193zuRAkO0cYlQ25OJgF6C3xgFOaLdLH1BtvUBNVcZmVp0GL5qmiT2Spanpc2llvKgLQAebC35IasmuKsNcL03o7iSVbYWjrZDSOoZ8vsEZLZ8IseuROZD2rKNeJE9h1HmiQZ18tY9FFKV9PdhqMTuwZwN57PsZqU4Dcf6XtNMsGDETbfab7nAfJpBR9rqbqH99v9cJsOS1q7wISDIz9AQoLarbKSZzL4499QgIpYXBChjZ1F0WeKSNhqIlFEALrOWCDZyoRNAHCyhtqZDk7okLfsMb4x6m0hxZJDu0r4rTO24Y7SMbfERal5ZkITtAHkD5yZqy5flB7wDNOen1QHXI5WGvVHmMckBikZ3A4xX89zaJTQ6MA6Mp2QLCBYKIHRr2oZIPv2ASr4pjxCQV5mVcGMoKg6aC2B4PGNZpjkop5EpBHkslZz6eBSftvARWrOSACNuFUPYf1yWyuDHjZ14gMZtk8SqwSDyDZpLTKS9cQAPY0WCwIAic2ZEQN804T9KP0Z4mvC5lL22g6LEZpDrKBeS5IYhqqFDq7AT2nId6mFeJj51pV893GAbduG4LwO79nwNU6aUW9cVwtwrwTdjZojKJp14cmyFqY3P8LI7BiG7bBHRyOZfE8SWtybI8POeIZr297HlPIX6MaM2FTYMpbZHjWGmOSC9D5pnQmCxq4hCx670ghP9kp0fYMdIZzBm7BaFAKlATY0wXDwhwfdOH5HugxeZ9EAHyHWALnZ8el2BWuoKMLtHyD8v5Ah8jfcW3dYwZkVggEK4h7ToV634y9DS6ZdmB0wLkrFKhOaX5WwQgEzChUoHzZHhK6uzXTt5llmA3Ta, libdevmapper.so.1.02()(64bit) >= set:miQ7O50kFpZfoA74ZdBu2fpltrLEOZgs7jj7O9hdFA, libdevmapper.so.1.02(Base)(64bit), libdevmapper.so.1.02(DM_1_02_97)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.29)(64bit), libpthread.so.0(GLIBC_2.12)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libsqlite3.so.0()(64bit) >= set:ohbW8uv5IYX4t3Wq3ozRbbL3BByku8mxiP9zWAp4w3KECo9Mg3x0VPYZ2xQbJnyTUYDRP3A9Hux5WZ3q3JQxFC9LlscpLYZwZehpvpirvb5Mqs3gvTHvcOGdeBMQ7qqsfQPzugmDMkR3XAOWKRKFgA4TPGVgboYu7Tjo8ZE2hPQHCigLcfrhO2TSJdzVD2SPk8Nor9U7ltI0fTJxBMzCZDNwzYKID6lh85mq3fIoywqKN7HCJGXqZHCZBGSPwicYlGzUEJFJn468W4zSP4BmZehE8aDeC7tyNyZ3bsn4XcNHKGjZzbbBdJL0, libssl.so.1.1()(64bit) >= set:miBOOdZ9USjLjdJhl6nx1RZsu9zbRZ7ySo8ZdvVSxfC2, libssl.so.1.1(OPENSSL_1_1_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, libzstd.so.1()(64bit) >= set:lhqiscbIfmyNOdvh5YU61ysNPZKVFrGYxX, losetup, lsblk, lsof, lvm2, mount, rtld(GNU_HASH), rtld(GNU_UNIQUE), sed, service, su, systemd Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aKvCgl Creating urbackup-client-debuginfo package Processing files: urbackup-client-debuginfo-2.5.24-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1Gmrkh find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CMrith find-requires: running scripts (debuginfo) Requires: urbackup-client = 2.5.24-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libcryptopp.so.8), debug64(libdevmapper.so.1.02), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpthread.so.0), debug64(libsqlite3.so.0), debug64(libssl.so.1.1), debug64(libstdc++.so.6), debug64(libz.so.1), debug64(libzstd.so.1) Adding to urbackup-client-debuginfo a strict dependency on urbackup-client Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-2.5.24-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-debuginfo-2.5.24-alt1.x86_64.rpm (w2T16.xzdio) 280.46user 37.83system 0:56.56elapsed 562%CPU (0avgtext+0avgdata 429148maxresident)k 0inputs+0outputs (0major+7703230minor)pagefaults 0swaps 4.24user 4.27system 1:14.91elapsed 11%CPU (0avgtext+0avgdata 128832maxresident)k 2912inputs+0outputs (0major+207266minor)pagefaults 0swaps --- urbackup-client-2.5.24-alt1.x86_64.rpm.repo 2023-09-19 19:48:39.000000000 +0000 +++ urbackup-client-2.5.24-alt1.x86_64.rpm.hasher 2024-06-16 02:45:14.692327140 +0000 @@ -123,6 +123,6 @@ File: /lib/systemd/system/urbackup-client.service 100644 root:root d8cd41f11e25490ebfd519dc1ea672a4 -File: /usr/bin/blockalign 100755 root:root 99feb81ff46a066834ed08ac24c9918b -File: /usr/bin/urbackupclientctl 100755 root:root 230c5783cb3286a5c02815f0f1e8268d -File: /usr/sbin/urbackupclient_dmsnaptool 100755 root:root 13b05abc741e8d2653bf3ba3ec2f8e28 -File: /usr/sbin/urbackupclientbackend 100755 root:root a09c7ce39b15997c067b7df3af3bfae4 +File: /usr/bin/blockalign 100755 root:root 764591f60aef167829675e12fb9ae467 +File: /usr/bin/urbackupclientctl 100755 root:root 7d762521ffb08776f753d0ddeb250969 +File: /usr/sbin/urbackupclient_dmsnaptool 100755 root:root 5be346a563081333a211b337e93d2e6e +File: /usr/sbin/urbackupclientbackend 100755 root:root 7bd0119adcb1ecbe612a29fcbd0d082d File: /usr/share/doc/urbackup-client-2.5.24 40755 root:root @@ -161,2 +161,2 @@ File: /var/log/urbackupclient.log 100644 root:root -RPMIdentity: 0b0882a7507676dccf01a8dfd4301ffd395816a75e6e57eab52961f653b002df1cf92ac4a5544f0ad303a798d350e9d2767153ef745d6972dbcb9a051da5890a +RPMIdentity: 9c991f1fd21a9c137b1a88bc33615c9f724a1c76197b12c4489b44fd4ffe50abe4cfb937c68758124e488d053a609c441d8c1af45b1bc0e4611fb393c7f6c014 --- urbackup-client-debuginfo-2.5.24-alt1.x86_64.rpm.repo 2023-09-19 19:48:39.000000000 +0000 +++ urbackup-client-debuginfo-2.5.24-alt1.x86_64.rpm.hasher 2024-06-16 02:45:14.776328577 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/65 40755 root:root -/usr/lib/debug/.build-id/65/36076c41858ca12d8562f796c01a4e72debb65 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool -/usr/lib/debug/.build-id/65/36076c41858ca12d8562f796c01a4e72debb65.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug -/usr/lib/debug/.build-id/73 40755 root:root -/usr/lib/debug/.build-id/73/c455edd02efa0daddca1066f1374eddc3961b6 120777 root:root ../../../../bin/urbackupclientctl -/usr/lib/debug/.build-id/73/c455edd02efa0daddca1066f1374eddc3961b6.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug -/usr/lib/debug/.build-id/c3 40755 root:root -/usr/lib/debug/.build-id/c3/0e4e6255ee8a3f2168de789d594b4b1aac311c 120777 root:root ../../../../sbin/urbackupclientbackend -/usr/lib/debug/.build-id/c3/0e4e6255ee8a3f2168de789d594b4b1aac311c.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug -/usr/lib/debug/.build-id/f3 40755 root:root -/usr/lib/debug/.build-id/f3/b5509926ff3588f4f6c04fa0690890496b4a69 120777 root:root ../../../../bin/blockalign -/usr/lib/debug/.build-id/f3/b5509926ff3588f4f6c04fa0690890496b4a69.debug 120777 root:root ../../usr/bin/blockalign.debug +/usr/lib/debug/.build-id/7e 40755 root:root +/usr/lib/debug/.build-id/7e/6990a456283f80dd7ce8c14d6c92e8d8af25f7 120777 root:root ../../../../sbin/urbackupclientbackend +/usr/lib/debug/.build-id/7e/6990a456283f80dd7ce8c14d6c92e8d8af25f7.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug +/usr/lib/debug/.build-id/a9 40755 root:root +/usr/lib/debug/.build-id/a9/8d2537ddaf4603ba2531ba9d595fdb7c4f055e 120777 root:root ../../../../bin/blockalign +/usr/lib/debug/.build-id/a9/8d2537ddaf4603ba2531ba9d595fdb7c4f055e.debug 120777 root:root ../../usr/bin/blockalign.debug +/usr/lib/debug/.build-id/d0 40755 root:root +/usr/lib/debug/.build-id/d0/eabad9d3610541b8a7065eac54ff376ca2a389 120777 root:root ../../../../bin/urbackupclientctl +/usr/lib/debug/.build-id/d0/eabad9d3610541b8a7065eac54ff376ca2a389.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug +/usr/lib/debug/.build-id/e0 40755 root:root +/usr/lib/debug/.build-id/e0/27f6d7973409e701a120c2368e9941c636cea6 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool +/usr/lib/debug/.build-id/e0/27f6d7973409e701a120c2368e9941c636cea6.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root @@ -392,18 +392,18 @@ Provides: urbackup-client-debuginfo = 2.5.24-alt1:p10+329938.200.1.1 -File: /usr/lib/debug/.build-id/65 40755 root:root -File: /usr/lib/debug/.build-id/65/36076c41858ca12d8562f796c01a4e72debb65 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool -File: /usr/lib/debug/.build-id/65/36076c41858ca12d8562f796c01a4e72debb65.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug -File: /usr/lib/debug/.build-id/73 40755 root:root -File: /usr/lib/debug/.build-id/73/c455edd02efa0daddca1066f1374eddc3961b6 120777 root:root ../../../../bin/urbackupclientctl -File: /usr/lib/debug/.build-id/73/c455edd02efa0daddca1066f1374eddc3961b6.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug -File: /usr/lib/debug/.build-id/c3 40755 root:root -File: /usr/lib/debug/.build-id/c3/0e4e6255ee8a3f2168de789d594b4b1aac311c 120777 root:root ../../../../sbin/urbackupclientbackend -File: /usr/lib/debug/.build-id/c3/0e4e6255ee8a3f2168de789d594b4b1aac311c.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug -File: /usr/lib/debug/.build-id/f3 40755 root:root -File: /usr/lib/debug/.build-id/f3/b5509926ff3588f4f6c04fa0690890496b4a69 120777 root:root ../../../../bin/blockalign -File: /usr/lib/debug/.build-id/f3/b5509926ff3588f4f6c04fa0690890496b4a69.debug 120777 root:root ../../usr/bin/blockalign.debug -File: /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root b81187ad5d8fc9514d1daa228471ee8f -File: /usr/lib/debug/usr/bin/urbackupclientctl.debug 100644 root:root ebb371294e250aa16102592aa4d2e1ad -File: /usr/lib/debug/usr/sbin/urbackupclient_dmsnaptool.debug 100644 root:root 7cbbbaf9dc91ee885496e45cfcf44310 -File: /usr/lib/debug/usr/sbin/urbackupclientbackend.debug 100644 root:root d452fbc9384f4dae7731bedf9d344eba +File: /usr/lib/debug/.build-id/7e 40755 root:root +File: /usr/lib/debug/.build-id/7e/6990a456283f80dd7ce8c14d6c92e8d8af25f7 120777 root:root ../../../../sbin/urbackupclientbackend +File: /usr/lib/debug/.build-id/7e/6990a456283f80dd7ce8c14d6c92e8d8af25f7.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug +File: /usr/lib/debug/.build-id/a9 40755 root:root +File: /usr/lib/debug/.build-id/a9/8d2537ddaf4603ba2531ba9d595fdb7c4f055e 120777 root:root ../../../../bin/blockalign +File: /usr/lib/debug/.build-id/a9/8d2537ddaf4603ba2531ba9d595fdb7c4f055e.debug 120777 root:root ../../usr/bin/blockalign.debug +File: /usr/lib/debug/.build-id/d0 40755 root:root +File: /usr/lib/debug/.build-id/d0/eabad9d3610541b8a7065eac54ff376ca2a389 120777 root:root ../../../../bin/urbackupclientctl +File: /usr/lib/debug/.build-id/d0/eabad9d3610541b8a7065eac54ff376ca2a389.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug +File: /usr/lib/debug/.build-id/e0 40755 root:root +File: /usr/lib/debug/.build-id/e0/27f6d7973409e701a120c2368e9941c636cea6 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool +File: /usr/lib/debug/.build-id/e0/27f6d7973409e701a120c2368e9941c636cea6.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug +File: /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root b36b0ce0d84fe1828e940d470fd313dc +File: /usr/lib/debug/usr/bin/urbackupclientctl.debug 100644 root:root 1397373aa200088ed7481a38caf6913e +File: /usr/lib/debug/usr/sbin/urbackupclient_dmsnaptool.debug 100644 root:root cdcd4b7ff8e45d77b8f7b44b4316b2da +File: /usr/lib/debug/usr/sbin/urbackupclientbackend.debug 100644 root:root 3b6b8a18b74237e57154449379eade70 File: /usr/src/debug/urbackup-client-2.5.24.0 40755 root:root @@ -767,2 +767,2 @@ File: /usr/src/debug/urbackup-client-2.5.24.0/utf8/utf8/core.h 100644 root:root d67547f556cfc99ab023cbe67a724c30 -RPMIdentity: 5c221e0a64626fcfea8f39feb69f8d59ad627da4852f2ce4a9d49a5ba4ee6ce05f5c7719e756060733c9afaa1a89c85db1f19f5180d5ad1e9bcbfd68ad2837ba +RPMIdentity: 6cb7c36d8ea2cbff8561788443289bafeaef7188eecf8ca4ca7267d6907f601bf0aa8f4bb26ba066052929597cc4ffb0132829eb342814e5be44ba60e9abff12