<86>May 24 06:44:29 userdel[4148242]: delete user 'rooter' <86>May 24 06:44:29 userdel[4148242]: removed group 'rooter' owned by 'rooter' <86>May 24 06:44:29 groupadd[4148253]: group added to /etc/group: name=rooter, GID=693 <86>May 24 06:44:29 groupadd[4148253]: group added to /etc/gshadow: name=rooter <86>May 24 06:44:29 groupadd[4148253]: new group: name=rooter, GID=693 <86>May 24 06:44:29 useradd[4148264]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>May 24 06:44:29 userdel[4148289]: delete user 'builder' <86>May 24 06:44:29 userdel[4148289]: removed group 'builder' owned by 'builder' <86>May 24 06:44:29 userdel[4148289]: removed shadow group 'builder' owned by 'builder' <86>May 24 06:44:29 groupadd[4148305]: group added to /etc/group: name=builder, GID=694 <86>May 24 06:44:29 groupadd[4148305]: group added to /etc/gshadow: name=builder <86>May 24 06:44:29 groupadd[4148305]: new group: name=builder, GID=694 <86>May 24 06:44:29 useradd[4148324]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash warning: user shaba does not exist - using root warning: group shaba does not exist - using root warning: user shaba does not exist - using root warning: group shaba does not exist - using root warning: user shaba does not exist - using root warning: group shaba does not exist - using root warning: user shaba does not exist - using root warning: group shaba does not exist - using root <13>May 24 06:44:31 rpmi: libsqlite3-3.29.0-alt1 p9+237498.100.1.1 1568303484 installed <13>May 24 06:44:32 rpmi: libcryptopp-7.0.0-alt1 sisyphus+222582.100.1.1 1550907216 installed <13>May 24 06:44:32 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 24 06:44:32 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>May 24 06:44:33 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>May 24 06:44:33 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>May 24 06:44:33 rpmi: libcryptopp-devel-7.0.0-alt1 sisyphus+222582.100.1.1 1550907216 installed <13>May 24 06:44:33 rpmi: libsqlite3-devel-3.29.0-alt1 p9+237498.100.1.1 1568303484 installed <13>May 24 06:44:33 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/urbackup-client-2.3.4-alt1.nosrc.rpm Installing urbackup-client-2.3.4-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70277 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf urbackup-client-2.3.4.0 + echo 'Source #0 (urbackup-client-2.3.4.tar.gz):' Source #0 (urbackup-client-2.3.4.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-client-2.3.4.tar.gz + /bin/tar -xf - + cd urbackup-client-2.3.4.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 + echo 'Patch #2 (urbackup-client-scripts.patch):' Patch #2 (urbackup-client-scripts.patch): + /usr/bin/patch -p1 patching file urbackupclient/backup_scripts/list patching file urbackupclient/backup_scripts/mariadbdump.conf patching file urbackupclient/backup_scripts/mariadbprebackup patching file urbackupclient/backup_scripts/mariadbxtrabackup patching file urbackupclient/backup_scripts/mariadbxtrabackup.conf patching file urbackupclient/backup_scripts/postgresbase patching file urbackupclient/backup_scripts/postgresbase.conf patching file urbackupclient/backup_scripts/postgresqldump patching file urbackupclient/backup_scripts/postgresqldump.conf patching file urbackupclient/backup_scripts/postgresqlpostbackup patching file urbackupclient/backup_scripts/postgresqlprebackup patching file urbackupclient/backup_scripts/restore-mariadbbackup patching file urbackupclient/backup_scripts/setup-mariadbbackup + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70277 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.3.4.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 + '[' -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 -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./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 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 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 dlopen in -ldl... yes checking for crypto++ version >= 5.1... yes (version 7.0, installed) checking for SQLite3 library >= 3.8.7.0... yes checking for library containing clock_gettime... none required 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 -j8 make all-recursive make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr single_use_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Query.cpp:24: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Query.cpp:39: Database.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr transaction_read_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Query.cpp:39: Database.h:90:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from Query.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Query.cpp:43: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Query.cpp: In destructor 'CQuery::~CQuery()': Query.cpp:75:9: warning: deleting object of polymorphic class type 'DatabaseCursor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete cursor; ^~~~~~ In file included from Query.cpp:43: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ 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] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:138:19: warning: deleting object of polymorphic class type 'CServiceWorker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete workers[i]; ^ ServiceAcceptor.cpp: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::__cxx11::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.cpp:41:6: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result [-Wunused-result] pipe(xpipe); ~~~~^~~~~~~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:116:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(xpipe[1], &ch, 1); ~~~~~^~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SelectThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SelectThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SelectThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SelectThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SelectThread.cpp: In destructor 'CSelectThread::~CSelectThread()': SelectThread.cpp:86:20: warning: deleting object of polymorphic class type 'CWorkerThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete workers[i]; ^ In file included from SelectThread.cpp:28: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServerLinux.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServerLinux.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServerLinux.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServerLinux.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from StreamPipe.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from StreamPipe.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from StreamPipe.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from StreamPipe.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from StreamPipe.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Client.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from AcceptThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from AcceptThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from AcceptThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from AcceptThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AcceptThread.cpp: In destructor 'CAcceptThread::~CAcceptThread()': AcceptThread.cpp:126:25: warning: deleting object of polymorphic class type 'CSelectThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete SelectThreads[i]; ^ In file included from AcceptThread.cpp:23: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from WorkerThread.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from WorkerThread.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from WorkerThread.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from WorkerThread.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from WorkerThread.cpp:28: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ WorkerThread.cpp: In member function 'virtual void CWorkerThread::operator()()': WorkerThread.cpp:66:10: warning: unused variable 'nq' [-Wunused-variable] size_t nq=0; ^~ In file included from WorkerThread.cpp:28: Interface/File.h: At global scope: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceWorker.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceWorker.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceWorker.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ServiceWorker.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ServiceWorker.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SessionMgr.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SessionMgr.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SessionMgr.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from SessionMgr.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SessionMgr.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Template.cpp:24: Server.h: At global scope: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Template.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Template.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Template.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Template.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Template.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Template.cpp:21: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] while (len = (int)fread(buffer, 1, 1024, file)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Mutex_lin.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Mutex_lin.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Mutex_lin.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Mutex_lin.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Mutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from LoadbalancerClient.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from LoadbalancerClient.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from LoadbalancerClient.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from LoadbalancerClient.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ LoadbalancerClient.cpp: In member function 'virtual void CLoadbalancerClient::operator()()': LoadbalancerClient.cpp:35:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_common.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from file_common.cpp:19: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_common.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_common.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_common.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from file_common.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::__cxx11::string getbetween(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:78:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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] if(off2==-1)return ""; ~~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string strdelete(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:104:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string getuntil(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:142:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string getuntilinc(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:155:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string ExtractFileName(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:363:6: warning: unused variable 'off' [-Wunused-variable] s32 off=0; ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::__cxx11::string)': stringtools.cpp:536:14: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 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] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Database.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr single_use_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Database.cpp:42: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from Database.cpp:48: Database.h: At global scope: Database.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr transaction_read_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Database.cpp:48: Database.h:90:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Database.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Database.cpp:49: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database.cpp: In destructor 'virtual CDatabase::~CDatabase()': Database.cpp:111:10: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete q; ^ Database.cpp: In member function 'virtual db_results CDatabase::Read(std::__cxx11::string)': Database.cpp:222:21: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ((CQuery*)q); ^ Database.cpp: In member function 'virtual bool CDatabase::Write(std::__cxx11::string)': Database.cpp:235:21: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ((CQuery*)q); ^ Database.cpp: In member function 'virtual void CDatabase::destroyQuery(IQuery*)': Database.cpp:448:11: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete cq; ^~ Database.cpp:454:9: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete cq; ^~ Database.cpp: In member function 'virtual void CDatabase::destroyAllQueries()': Database.cpp:462:10: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete cq; ^~ In file included from Database.cpp:49: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from Database.cpp:42: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from file_fstream.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from file.h:4, from file_fstream.cpp:20: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::__cxx11::string getbetween(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:78:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 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] if(off2==-1)return ""; ~~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string strdelete(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:104:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string getuntil(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:142:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string getuntilinc(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:155:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(off==-1) ~~~^~~~ stringtools.cpp: In function 'std::__cxx11::string ExtractFileName(std::__cxx11::string, std::__cxx11::string)': stringtools.cpp:363:6: warning: unused variable 'off' [-Wunused-variable] s32 off=0; ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::__cxx11::string)': stringtools.cpp:536:14: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 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] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_linux.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_linux.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_linux.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from file_linux.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from file_linux.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h: At global scope: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from FileSettingsReader.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from FileSettingsReader.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from FileSettingsReader.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from FileSettingsReader.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr file(Server->openFile(pFile)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from FileSettingsReader.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: At global scope: Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from FileSettingsReader.cpp:20: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclientbackend-LookupService.o `test -f 'LookupService.cpp' || echo './'`LookupService.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from main.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from main.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from main.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from main.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from main.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from main.cpp:34: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main_fkt(int, char**)': main.cpp:461:7: warning: unused variable 'rc' [-Wunused-variable] int rc=getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); ^~ main.cpp:491:7: warning: unused variable 'rc' [-Wunused-variable] int rc = getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); ^~ main.cpp:606:9: warning: deleting object of polymorphic class type 'CLoadbalancerClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete lbs; ^~~ main.cpp:611:9: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete Server; ^~~~~~ main.cpp:384:8: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result] dup(i); ~~~^~~ main.cpp:385:8: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result] dup(i); ~~~^~~ In file included from main.cpp:34: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h: At global scope: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from DBSettingsReader.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from DBSettingsReader.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from DBSettingsReader.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from DBSettingsReader.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from DBSettingsReader.cpp:23: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr transaction_read_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SQLiteFactory.cpp:22: Database.h:90:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Condition_lin.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Condition_lin.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Condition_lin.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Condition_lin.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Condition_lin.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemorySettingsReader.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemorySettingsReader.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemorySettingsReader.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemorySettingsReader.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from MemorySettingsReader.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr updater; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from PipeThrottler.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr single_use_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:82:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] switch(data_type) ^ In file included from urbackupcommon/json.cpp:20: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemoryPipe.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemoryPipe.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemoryPipe.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from MemoryPipe.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dec; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:77:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr enc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:86:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from SharedMutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ThreadPool.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ThreadPool.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ThreadPool.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from ThreadPool.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual void CPoolThread::operator()()': ThreadPool.cpp:107:9: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from ThreadPool.cpp:21: ThreadPool.h: In constructor 'CThreadPool::CThreadPool(size_t, size_t, std::__cxx11::string)': ThreadPool.h:86:14: warning: 'CThreadPool::idle_name' will be initialized after [-Wreorder] std::string idle_name; ^~~~~~~~~ ThreadPool.h:49:9: warning: 'size_t CThreadPool::nRunning' [-Wreorder] size_t nRunning; ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 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] size_t nRunning; ^~~~~~~~ ThreadPool.h:48:9: warning: 'size_t CThreadPool::nThreads' [-Wreorder] size_t nThreads; ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 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] volatile bool dexit; ^~~~~ ThreadPool.h:65:10: warning: 'IMutex* CThreadPool::mutex' [-Wreorder] IMutex* mutex; ^~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] CThreadPool::CThreadPool(size_t max_threads, ^~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual THREADPOOL_TICKET CThreadPool::execute(IThread*, const string&)': ThreadPool.cpp:337:11: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete nt; ^~ In file included from ThreadPool.cpp:23: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ 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] if (ctime - starttime>=timems) ~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr out(Server->openFile(os_file_prefix(out_fn), MODE_RW_CREATE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr in(Server->openFile(os_file_prefix(in_fn))); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr in_f(Server->openFile(os_file_prefix(in_fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupcommon/file_metadata.cpp:427:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr out_f(Server->openFile(os_file_prefix(out_fn), MODE_RW)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/file_metadata.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:82:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dec; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:77:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr enc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:86:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h: In constructor 'CompressedPipe2::CompressedPipe2(IPipe*, int)': urbackupcommon/CompressedPipe2.h:77:7: warning: 'CompressedPipe2::has_error' will be initialized after [-Wreorder] bool has_error; ^~~~~~~~~ urbackupcommon/CompressedPipe2.h:71:8: warning: 'int64 CompressedPipe2::uncompressed_sent_bytes' [-Wreorder] int64 uncompressed_sent_bytes; ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:73:8: warning: 'CompressedPipe2::sent_flushes' will be initialized after [-Wreorder] int64 sent_flushes; ^~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:69:9: warning: 'size_t CompressedPipe2::input_buffer_size' [-Wreorder] size_t input_buffer_size; ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:83:24: warning: 'CompressedPipe2::write_mutex' will be initialized after [-Wreorder] std::auto_ptr write_mutex; ^~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:74:8: warning: 'int64 CompressedPipe2::last_send_time' [-Wreorder] int64 last_send_time; ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In member function 'virtual std::__cxx11::string SparseFile::Read(_u32, bool*)': urbackupcommon/SparseFile.cpp:104:7: warning: unused variable 'read' [-Wunused-variable] _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] IFile* backing_file; ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:123:10: warning: 'char* {anonymous}::BackingReadBufOp::buffer' [-Wreorder] char * buffer; ^~~~~~ urbackupcommon/SparseFile.cpp:113:3: warning: when initialized here [-Wreorder] 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] IFile* backing_file; ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:177:16: warning: 'const char* {anonymous}::BackingWriteBufOp::buffer' [-Wreorder] const char * buffer; ^~~~~~ urbackupcommon/SparseFile.cpp:167:3: warning: when initialized here [-Wreorder] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:39: Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Server.cpp:39: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Server.cpp:39: Server.h:49:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Server.cpp:39: Server.h:50:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Server.cpp:41: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file.h:4, from Server.cpp:51: Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from Server.cpp:55: Database.h: At global scope: Database.h:89:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr transaction_read_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Server.cpp:55: Database.h:90:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr updater; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr single_use_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:17, from Server.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Server.cpp: In destructor 'CServer::~CServer()': Server.cpp:254:27: warning: deleting object of polymorphic class type 'CServiceAcceptor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete stream_services[i]; ^ Server.cpp:305:9: warning: deleting object of polymorphic class type 'CSessionMgr' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete sessmgr; ^~~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::__cxx11::string)': Server.cpp:482:8: warning: unused variable 'rc' [-Wunused-variable] int rc=getpwnam_r(chown_user.c_str(), &pwbuf, buf, 1000, &pw); ^~ Server.cpp: In member function 'virtual THREAD_ID CServer::getThreadID()': Server.cpp:840:20: warning: comparison of integer expressions of different signedness: 'THREAD_ID' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] if( curr_thread_id>=MAX_THREAD_ID ) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::randomFill(char*, size_t)': Server.cpp:1892:14: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 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:1643:109: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::__cxx11::string)': Server.cpp:485:10: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)', declared with attribute warn_unused_result [-Wunused-result] chown(plf.c_str(), pw->pw_uid, pw->pw_gid); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Server.cpp:41: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/ExtentIterator.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/ExtentIterator.h:4, from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::__cxx11::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:574:13: warning: unused variable 'tmp' [-Wunused-variable] in_addr tmp; ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1138:6: warning: unused variable 'io_prio' [-Wunused-variable] int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1139:6: warning: unused variable 'cpu_prio' [-Wunused-variable] 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] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(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::__cxx11::string {anonymous}::ConvertFromWchar(const wstring&)' defined but not used [-Wunused-function] std::string ConvertFromWchar(const std::wstring &input) ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:15: warning: 'std::__cxx11::wstring {anonymous}::ConvertToWchar(const string&)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:129:26: warning: 'parent_dev_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if(ignore_other_fs && S_ISDIR(f_info.st_mode) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && has_parent_dev_id && parent_dev_id!=f_info.st_dev) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] IVHDFile* wfile; ^~~~~ fsimageplugin/FileWrapper.h:42:8: warning: 'int64 FileWrapper::offset' [-Wreorder] int64 offset; ^~~~~~ fsimageplugin/FileWrapper.cpp:118:1: warning: when initialized here [-Wreorder] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-LRUMemCache.o `test -f 'fsimageplugin/LRUMemCache.cpp' || echo './'`fsimageplugin/LRUMemCache.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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::__cxx11::string, FileClientChunked*)': urbackupcommon/fileclient/FileClientChunked.h:233:7: warning: 'FileClientChunked::destroy_pipe' will be initialized after [-Wreorder] bool destroy_pipe; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:186:13: warning: 'CTCPStack* FileClientChunked::stack' [-Wreorder] CTCPStack *stack; ^~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] bool queue_only; ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:256:36: warning: 'FileClientChunked::QueueCallback* FileClientChunked::queue_callback' [-Wreorder] FileClientChunked::QueueCallback* queue_callback; ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] FileClientChunked::QueueCallback* queue_callback; ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:7: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] _i64 remote_filesize; ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] _i64 hashfilesize; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] bool did_queue_fc; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] bool did_queue_fc; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:15: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] unsigned int queued_chunks; ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] bool needs_flush; ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:7: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] _i64 real_transferred_bytes; ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] bool queue_next; ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:7: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] _i64 sparse_bytes; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 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] FileClientChunked* parent; ^~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:7: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] _i64 remote_filesize; ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 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] _i64 hashfilesize; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:7: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] bool did_queue_fc; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 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] bool did_queue_fc; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:15: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] unsigned int queued_chunks; ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 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] bool reconnected; ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:7: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] _i64 real_transferred_bytes; ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 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] bool queue_next; ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:7: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] _i64 sparse_bytes; ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] FileClientChunked::FileClientChunked(void) ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp: In member function '_u32 FileClientChunked::GetFile(std::__cxx11::string, _i64&, int64, IFile**)': urbackupcommon/fileclient/FileClientChunked.cpp:159:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr next(queued_fcs.front()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupcommon/fileclient/FileClientChunked.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.h:9, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/TreeHash.cpp:1: urbackupcommon/TreeHash.h: In constructor 'TreeHash::TreeHash(IHashOutput*)': urbackupcommon/TreeHash.h:149:15: warning: 'TreeHash::offset' will be initialized after [-Wreorder] unsigned int offset; ^~~~~~ urbackupcommon/TreeHash.h:144:7: warning: 'bool TreeHash::has_sparse' [-Wreorder] bool has_sparse; ^~~~~~~~~~ urbackupcommon/TreeHash.cpp:9:1: warning: when initialized here [-Wreorder] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/ClientBitmap.cpp: In constructor 'ClientBitmap::ClientBitmap(std::__cxx11::string)': fsimageplugin/ClientBitmap.cpp:16:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_file(Server->openFile(fn, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/ClientBitmap.h:3, from fsimageplugin/ClientBitmap.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/ClientBitmap.h:4, from fsimageplugin/ClientBitmap.cpp:1: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] bool finished; ^~~~~~~~ fsimageplugin/cowfile.h:56:7: warning: '_i64 CowFile::curr_offset' [-Wreorder] _i64 curr_offset; ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:62:1: warning: when initialized here [-Wreorder] 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] bool finished; ^~~~~~~~ fsimageplugin/cowfile.h:56:7: warning: '_i64 CowFile::curr_offset' [-Wreorder] _i64 curr_offset; ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:200:1: warning: when initialized here [-Wreorder] 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] std::auto_ptr parentf(Server->openFile(parent_fn, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] if(pDstsize>0 && pDstsize!=filesize) ~~~~~~~~^~~~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::saveBitmap()': fsimageplugin/cowfile.cpp:576:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_file(Server->openFile(filename+".bitmap", MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::loadBitmap(const string&)': fsimageplugin/cowfile.cpp:595:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_file(Server->openFile(bitmap_fn, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::trimUnused(_i64, _i64, ITrimCallback*)': fsimageplugin/cowfile.cpp:761:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_source; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::syncBitmap(_i64)': fsimageplugin/cowfile.cpp:871:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_source; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from fsimageplugin/cowfile.cpp:30: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr db_file; //must not be closed ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr wal_file(Server->openFile(db_fn+"-wal", mode)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr rw_wal_file(Server->openFile(db_fn + "-wal", rw_mode)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:24: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -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:3014:9: note: #pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files. #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") ^~~~~~~ common/miniz.c: In function 'mz_zip_reader_init_file_v2': common/miniz.c:3837:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((!pZip) || (!pFilename) || ((archive_size) && (archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE))) ^~ common/miniz.c:3840:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' pFile = MZ_FOPEN(pFilename, "rb"); ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:7, from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hotCache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(std::__cxx11::string, int)': fsimageplugin/CompressedFile.h:67:7: warning: 'CompressedFile::error' will be initialized after [-Wreorder] bool error; ^~~~~ fsimageplugin/CompressedFile.h:57:10: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] __int64 currentPosition; ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:37:1: warning: when initialized here [-Wreorder] CompressedFile::CompressedFile( std::string pFilename, int pMode ) ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:69:7: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] bool finished; ^~~~~~~~ fsimageplugin/CompressedFile.h:53:10: warning: '__int64 CompressedFile::filesize' [-Wreorder] __int64 filesize; ^~~~~~~~ fsimageplugin/CompressedFile.cpp:37:1: warning: when initialized here [-Wreorder] CompressedFile::CompressedFile( std::string pFilename, int pMode ) ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(IFile*, bool, bool)': fsimageplugin/CompressedFile.h:67:7: warning: 'CompressedFile::error' will be initialized after [-Wreorder] bool error; ^~~~~ fsimageplugin/CompressedFile.h:57:10: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] __int64 currentPosition; ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly) ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:69:7: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] bool finished; ^~~~~~~~ fsimageplugin/CompressedFile.h:61:9: warning: 'IFile* CompressedFile::uncompressedFile' [-Wreorder] IFile* uncompressedFile; ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly) ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:61:9: warning: 'CompressedFile::uncompressedFile' will be initialized after [-Wreorder] IFile* uncompressedFile; ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:53:10: warning: '__int64 CompressedFile::filesize' [-Wreorder] __int64 filesize; ^~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly) ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp: In member function 'virtual _u32 CompressedFile::Read(char*, _u32, bool*)': fsimageplugin/CompressedFile.cpp:226:28: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and '__int64' {aka 'long long int'} [-Wsign-compare] if(currentPosition+canRead>filesize) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:20: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.h:7, from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.cpp:2: urbackupclient/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, from urbackupclient/ClientHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientHash.cpp: In member function 'bool ClientHash::getShaBinary(const string&, IHashFunc&, bool)': urbackupclient/ClientHash.cpp:81:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ_SEQUENTIAL_BACKUP)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, from urbackupclient/ClientHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr chunk_hashes; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:122:7: warning: unused variable 'n_chunks' [-Wunused-variable] _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] bool has_sparse_extent = false; ^~~~~~~~~~~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool writeRepeatFreeSpace(IFile*, const char*, size_t, INotEnoughSpaceCallback*)': urbackupcommon/chunk_hasher.cpp:619:7: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ clientctl/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ clientctl/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ clientctl/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ clientctl/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ clientctl/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ clientctl/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupclient/urbackupclientbackend-ParallelHash.o `test -f 'urbackupclient/ParallelHash.cpp' || echo './'`urbackupclient/ParallelHash.cpp In file included from urbackupclient/ParallelHash.h:4, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] 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:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h: In constructor 'ParallelHash::ParallelHash(SQueueRef*, int)': urbackupclient/ParallelHash.h:50:13: warning: 'ParallelHash::phash_queue' will be initialized after [-Wreorder] SQueueRef* phash_queue; ^~~~~~~~~~~ urbackupclient/ParallelHash.h:49:8: warning: 'int64 ParallelHash::phash_queue_pos' [-Wreorder] int64 phash_queue_pos; ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:17:1: warning: when initialized here [-Wreorder] ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version) ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:49:8: warning: 'ParallelHash::phash_queue_pos' will be initialized after [-Wreorder] int64 phash_queue_pos; ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:46:9: warning: 'size_t ParallelHash::stdout_buf_size' [-Wreorder] size_t stdout_buf_size; ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:17:1: warning: when initialized here [-Wreorder] ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version) ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:46:9: warning: 'ParallelHash::stdout_buf_size' will be initialized after [-Wreorder] size_t stdout_buf_size; ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:45:9: warning: 'size_t ParallelHash::stdout_buf_pos' [-Wreorder] size_t stdout_buf_pos; ^~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:17:1: warning: when initialized here [-Wreorder] ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version) ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:74:8: warning: 'ParallelHash::last_file_buffer_commit_time' will be initialized after [-Wreorder] int64 last_file_buffer_commit_time; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:57:6: warning: 'int ParallelHash::sha_version' [-Wreorder] int sha_version; ^~~~~~~~~~~ urbackupclient/ParallelHash.cpp:17:1: warning: when initialized here [-Wreorder] ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version) ^~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.cpp:1: urbackupclient/ParallelHash.h:57:6: warning: 'ParallelHash::sha_version' will be initialized after [-Wreorder] int sha_version; ^~~~~~~~~~~ urbackupclient/ParallelHash.h:48:16: warning: 'volatile bool ParallelHash::eof' [-Wreorder] volatile bool eof; ^~~ urbackupclient/ParallelHash.cpp:17:1: warning: when initialized here [-Wreorder] ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version) ^~~~~~~~~~~~ urbackupclient/ParallelHash.cpp: In member function 'virtual void ParallelHash::operator()()': urbackupclient/ParallelHash.cpp:102:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phashf(Server->openFile(phash_queue->phash_queue->getFilename(), mode)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/ParallelHash.h:9, from urbackupclient/ParallelHash.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from urbackupclient/ParallelHash.h:4, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -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 sqlite/shell.c: In function 'do_meta_command': sqlite/shell.c:1675:7: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(p->colWidth,0,ArraySize(p->colWidth)); ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'double {anonymous}::little_endian(double)': common/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'float {anonymous}::big_endian(float)': common/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ common/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ common/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ common/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ common/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ common/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ common/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] TCLAP::ValueArg client_arg; ^~~~~~~~~~ clientctl/main.cpp:304:7: warning: 'bool PwClientCmd::change' [-Wreorder] bool change; ^~~~~~ clientctl/main.cpp:247:2: warning: when initialized here [-Wreorder] PwClientCmd(TCLAP::CmdLine& cmd, bool change) ^~~~~~~~~~~ In file included from clientctl/main.cpp:25: clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ clientctl/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ clientctl/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ clientctl/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ clientctl/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ clientctl/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ clientctl/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] memset(this, 0, sizeof(*this)); ^ libfastcgi/fastcgi.cpp:75:8: note: 'struct EndRequestMsg' declared here 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] memset(this, 0, sizeof(*this)); ^ libfastcgi/fastcgi.cpp:101:8: note: 'struct UnknownTypeMsg' declared here struct UnknownTypeMsg : public Header ^~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In destructor 'FCGIProtocolDriver::~FCGIProtocolDriver()': libfastcgi/fastcgi.cpp:270:15: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete i->second; ^~~~~~ libfastcgi/fastcgi.cpp: In member function 'void FCGIProtocolDriver::terminate_request(uint16_t)': libfastcgi/fastcgi.cpp:400:17: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete req->second; ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h: In constructor 'FileClient::FileClient(bool, std::__cxx11::string, int, bool, FileClient::ReconnectionCallback*, FileClient::NoFreeSpaceCallback*)': urbackupcommon/fileclient/FileClient.h:202:8: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] _i64 received_data_bytes; ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:195:30: warning: 'FileClient::QueueCallback* FileClient::queue_callback' [-Wreorder] FileClient::QueueCallback* queue_callback; ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool internet_connection, ^~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h:227:8: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] bool needs_flush; ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:188:8: warning: '_i64 FileClient::real_transferred_bytes' [-Wreorder] _i64 real_transferred_bytes; ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool internet_connection, ^~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::__cxx11::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:791:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sparse_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:124, from urbackupcommon/fileclient/FileClient.cpp:28: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::FinishScript(std::__cxx11::string)': urbackupcommon/fileclient/FileClient.cpp:1957:7: warning: unused variable 'tries' [-Wunused-variable] int tries=5000; ^~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:26: urbackupcommon/fileclient/../../stringtools.h: At global scope: urbackupcommon/fileclient/../../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.h:9, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::__cxx11::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:1128:8: warning: 'hash_r' may be used uninitialized in this function [-Wmaybe-uninitialized] off+=tc; ~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] size_t offset=0; ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: At global scope: cryptoplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ cryptoplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::__cxx11::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:574:13: warning: unused variable 'tmp' [-Wunused-variable] in_addr tmp; ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1138:6: warning: unused variable 'io_prio' [-Wunused-variable] int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1139:6: warning: unused variable 'cpu_prio' [-Wunused-variable] 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] *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(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::__cxx11::string {anonymous}::ConvertFromWchar(const wstring&)' defined but not used [-Wunused-function] std::string ConvertFromWchar(const std::wstring &input) ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:15: warning: 'std::__cxx11::wstring {anonymous}::ConvertToWchar(const string&)' defined but not used [-Wunused-function] std::wstring ConvertToWchar(const std::string &input) ^~~~~~~~~~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:129:26: warning: 'parent_dev_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if(ignore_other_fs && S_ISDIR(f_info.st_mode) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && has_parent_dev_id && parent_dev_id!=f_info.st_dev) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -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:21: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ clientctl/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ clientctl/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ clientctl/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ clientctl/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ clientctl/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ clientctl/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ clientctl/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h: At global scope: urbackupclient/../Server.h:47:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/bits/locale_conv.h:41, from /usr/include/c++/8/locale:43, from /usr/include/c++/8/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++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lock_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/bits/locale_conv.h:41, from /usr/include/c++/8/locale:43, from /usr/include/c++/8/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++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/bits/locale_conv.h:41, from /usr/include/c++/8/locale:43, from /usr/include/c++/8/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++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr unlock_cond; ^~~~~~~~ In file included from /usr/include/c++/8/bits/locale_conv.h:41, from /usr/include/c++/8/locale:43, from /usr/include/c++/8/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++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'void read_config_file(std::__cxx11::string, std::vector >&)': urbackupclient/cmdline_preprocessor.cpp:103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings(Server->createFileSettingsReader(fn)); ^~~~~~~~ In file included from /usr/include/c++/8/bits/locale_conv.h:41, from /usr/include/c++/8/locale:43, from /usr/include/c++/8/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++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp:185:10: warning: deleting object of abstract class type 'IServer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete Server; ^~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'int main(int, char**)': urbackupclient/cmdline_preprocessor.cpp:200:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] for(size_t i=1;i(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: At global scope: fsimageplugin/filesystem.cpp:222:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/filesystem.cpp:223:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr start_readahead_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/filesystem.cpp:224:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_block_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/filesystem.cpp: In constructor 'Filesystem_ReadaheadThread::Filesystem_ReadaheadThread(Filesystem&, bool)': fsimageplugin/filesystem.cpp:225:14: warning: 'Filesystem_ReadaheadThread::fs' will be initialized after [-Wreorder] Filesystem& fs; ^~ fsimageplugin/filesystem.cpp:222:24: warning: 'std::auto_ptr Filesystem_ReadaheadThread::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ fsimageplugin/filesystem.cpp:74:2: warning: when initialized here [-Wreorder] Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:233:7: warning: 'Filesystem_ReadaheadThread::do_stop' will be initialized after [-Wreorder] bool do_stop; ^~~~~~~ fsimageplugin/filesystem.cpp:229:7: warning: 'bool Filesystem_ReadaheadThread::readahead_miss' [-Wreorder] bool readahead_miss; ^~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:74:2: warning: when initialized here [-Wreorder] 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:106:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] IFsNextBlockCallback* next_block_callback; ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:101:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:238:1: warning: when initialized here [-Wreorder] 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:101:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:100:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:238:1: warning: when initialized here [-Wreorder] 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:100:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:89:8: warning: 'int64 Filesystem::errcode' [-Wreorder] int64 errcode; ^~~~~~~ fsimageplugin/filesystem.cpp:238:1: warning: when initialized here [-Wreorder] 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:106:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] IFsNextBlockCallback* next_block_callback; ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:101:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:261:1: warning: when initialized here [-Wreorder] Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:101:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:100:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:261:1: warning: when initialized here [-Wreorder] Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:100:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:89:8: warning: 'int64 Filesystem::errcode' [-Wreorder] int64 errcode; ^~~~~~~ fsimageplugin/filesystem.cpp:261:1: warning: when initialized here [-Wreorder] Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) ^~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::hasBlock(int64)': fsimageplugin/filesystem.cpp:299:8: warning: unused variable 'blocksize' [-Wunused-variable] int64 blocksize=getBlocksize(); ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'bool Filesystem::queueOverlappedReads(bool)': fsimageplugin/filesystem.cpp:583:16: warning: unused variable 'blocksize' [-Wunused-variable] unsigned int blocksize = static_cast(getBlocksize()); ^~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/filesystem.cpp:19: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:21: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] CryptoPP::AuthenticatedEncryptionFilter encryption_filter; ^~~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.h:25:7: warning: 'bool AESGCMEncryption::iv_done' [-Wreorder] bool iv_done; ^~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 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] bool iv_done; ^~~~~~~ cryptoplugin/AESGCMEncryption.h:24:9: warning: 'size_t AESGCMEncryption::end_marker_state' [-Wreorder] size_t end_marker_state; ^~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:51: urbackupclient/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:58: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:60: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] 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:61: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/dllmain.cpp:61: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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:61: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h: At global scope: urbackupclient/client.h:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, ^~~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h: At global scope: urbackupclient/client.h:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:61: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/dllmain.cpp:73: urbackupclient/../urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:74: urbackupclient/../urbackupcommon/WalCheckpointThread.h:45:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr db_file; //must not be closed ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/dllmain.cpp: In function 'void LoadActions_urbackupclient(IServer*)': urbackupclient/dllmain.cpp:288:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_reader(Server->createFileSettingsReader(INITIAL_SETTINGS_PREFIX "initial_settings.cfg")); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/dllmain.cpp:58: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, from urbackupclient/client.h:13, from urbackupclient/dllmain.cpp:61: 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] 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:61: urbackupclient/../urbackupcommon/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:51: urbackupclient/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/fs/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/fs/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.cpp:20: fsimageplugin/fs/../../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupclientbackend-vhdfile.o `test -f 'fsimageplugin/vhdfile.cpp' || echo './'`fsimageplugin/vhdfile.cpp In file included from fsimageplugin/vhdfile.h:2, from fsimageplugin/vhdfile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hotCache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:35: fsimageplugin/fs/../filesystem.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:35: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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)': fsimageplugin/vhdfile.h:185:7: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] bool fast_mode; ^~~~~~~~~ fsimageplugin/vhdfile.h:182:9: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] uint64 bitmap_offset; ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:45:1: warning: when initialized here [-Wreorder] VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress) ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h:189:7: warning: 'VHDFile::finished' will be initialized after [-Wreorder] bool finished; ^~~~~~~~ fsimageplugin/vhdfile.h:153:9: warning: 'IFile* VHDFile::file' [-Wreorder] IFile* file; ^~~~ fsimageplugin/vhdfile.cpp:45:1: warning: when initialized here [-Wreorder] VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress) ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const string&, const string&, bool, bool, bool, uint64)': fsimageplugin/vhdfile.h:185:7: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] bool fast_mode; ^~~~~~~~~ fsimageplugin/vhdfile.h:182:9: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] uint64 bitmap_offset; ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:140:1: warning: when initialized here [-Wreorder] VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize) ^~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h:189:7: warning: 'VHDFile::finished' will be initialized after [-Wreorder] bool finished; ^~~~~~~~ fsimageplugin/vhdfile.h:153:9: warning: 'IFile* VHDFile::file' [-Wreorder] IFile* file; ^~~~ fsimageplugin/vhdfile.cpp:140:1: warning: when initialized here [-Wreorder] VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize) ^~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::write_footer()': fsimageplugin/vhdfile.cpp:479:28: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] && backing_file->Size() != nextblock_offset + sizeof(VHDFooter)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::read_footer()': fsimageplugin/vhdfile.cpp:489:9: warning: unused variable 'fsize' [-Wunused-variable] size_t fsize=sizeof(VHDFooter); ^~~~~ fsimageplugin/vhdfile.cpp: In member function 'virtual bool VHDFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdfile.cpp:1400:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_source; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/vhdfile.cpp:1451:11: warning: unused variable 'has_error' [-Wunused-variable] bool has_error = false; ^~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:22: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.h:2, from fsimageplugin/vhdfile.cpp:19: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ServerIdentityMgr.cpp: In static member function 'static void ServerIdentityMgr::writeSessionIdentities()': urbackupclient/ServerIdentityMgr.cpp:326:9: warning: variable 'start' set but not used [-Wunused-but-set-variable] 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:364:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(fn + ".new", MODE_RW)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/ServerIdentityMgr.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ServerIdentityMgr.cpp:21: urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ClientService.h:4, from urbackupclient/ImageThread.cpp:30: urbackupclient/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:30: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: At global scope: urbackupclient/client.h:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, ^~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h: At global scope: urbackupclient/client.h:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:33: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ImageThread.cpp:31: urbackupclient/ImageThread.h: In constructor 'ImageThread::ImageThread(ClientConnector*, IPipe*, IPipe*, ImageInformation*, std::__cxx11::string, IFile*, IFile*)': urbackupclient/ImageThread.h:52:19: warning: 'ImageThread::client' will be initialized after [-Wreorder] ClientConnector *client; ^~~~~~ urbackupclient/ImageThread.h:50:9: warning: 'IPipe* ImageThread::pipe' [-Wreorder] IPipe *pipe; ^~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, IPipe *mempipe, 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] ImageInformation *image_inf; ^~~~~~~~~ urbackupclient/ImageThread.h:53:14: warning: 'std::__cxx11::string ImageThread::server_token' [-Wreorder] std::string server_token; ^~~~~~~~~~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, IPipe *mempipe, ImageInformation *image_inf, ^~~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendFullImageThread()': urbackupclient/ImageThread.cpp:135:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hdat_img; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ImageThread.cpp:209:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fs; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ImageThread.cpp:439:11: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete clientSend; ^~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendIncrImageThread()': urbackupclient/ImageThread.cpp:526:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hdat_img; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ImageThread.cpp:596:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fs; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ImageThread.cpp:620:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr previous_bitmap; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ImageThread.cpp:663:12: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ urbackupclient/ImageThread.cpp:866:10: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ urbackupclient/ImageThread.cpp:1040:11: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete clientSend; ^~~~~~~~~~ urbackupclient/ImageThread.cpp:747:10: warning: unused variable 'numblocks' [-Wunused-variable] int64 numblocks=drivesize/blocksize; ^~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'std::__cxx11::string ImageThread::getFsErrMsg()': urbackupclient/ImageThread.cpp:1223:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dev(Server->openFile(image_inf->shadowdrive, MODE_READ_DEVICE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:214, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:21: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: At global scope: urbackupclient/client.h:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, ^~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h: At global scope: urbackupclient/client.h:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:27: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:28: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] SChannel(void) ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupclient/../urbackupcommon/InternetServicePipe2.h:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dec; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:77:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr enc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:86:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h:87:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:35: urbackupclient/../urbackupcommon/CompressedPipe2.h:82:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:35: urbackupclient/../urbackupcommon/CompressedPipe2.h:83:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr write_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClient::operator()()': urbackupclient/InternetClient.cpp:245:9: warning: deleting object of polymorphic class type 'InternetClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClientThread::operator()()': urbackupclient/InternetClient.cpp:646:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ecdh_key_exchange(crypto_fak->createECDHKeyExchange()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/InternetClient.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/InternetClient.cpp:866:9: warning: deleting object of polymorphic class type 'InternetClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientService.cpp:19: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] 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:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientService.cpp:20: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:20: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr createFcChunked(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:20: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool, bool, bool, int64, int, std::__cxx11::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] CTCPStack tcpstack; ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] int64 log_id; ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, ^~~~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::UpdateSilentThread::operator()()': urbackupclient/ClientService.cpp:145:11: warning: deleting object of polymorphic class type '{anonymous}::UpdateSilentThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupclient/ClientService.cpp: In member function 'virtual bool ClientConnector::Run(IRunOtherCallback*)': urbackupclient/ClientService.cpp:293:21: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete image_inf.image_thread; ^~~~~~~~~~~~ urbackupclient/ClientService.cpp:352:9: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ urbackupclient/ClientService.cpp:536:22: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete image_inf.image_thread; ^~~~~~~~~~~~ urbackupclient/ClientService.cpp:573:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr updatefile(Server->openFile(UPDATE_FILE_PREFIX "UrBackupUpdate_untested.dat")); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:303:8: warning: enumeration value 'CCSTATE_FILESERV' not handled in switch [-Wswitch] switch(state) ^ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::updateSettings(const string&)': urbackupclient/ClientService.cpp:1638:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:1673:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:1757:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( (key=="internet_server" || key=="internet_server_def") && nv.empty() && !v.empty() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ urbackupclient/ClientService.cpp:1771:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if( (key == "internet_server" || key == "internet_server_def") && !v.empty() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ urbackupclient/ClientService.cpp:1833:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr newf(Server->openFile(settings_fn + ".new", MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:1848:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_server_settings(Server->createFileSettingsReader(settings_server_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:1889:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr newf(Server->openFile(settings_server_fn + ".new", MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::replaceSettings(const string&)': urbackupclient/ClientService.cpp:1903:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:1925:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr old_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'std::__cxx11::string ClientConnector::getAccessTokensParams(const string&, bool, const string&)': urbackupclient/ClientService.cpp:3318:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr access_keys( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp:3367:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::UpdateSilentThread::operator()()': urbackupclient/ClientService.cpp:142:10: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("/bin/sh urbackup/UrBackupUpdate.sh -- silent"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] const char* tokens_path = "urbackup/tokens"; ^~~~~~~~~~~ In file included from urbackupclient/ClientService.h:4, from urbackupclient/ClientService.cpp:19: urbackupclient/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] if(rc(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupclient/RestoreFiles.h:5, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] 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:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr createFcChunked(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool, bool, bool, int64, int, std::__cxx11::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] CTCPStack tcpstack; ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] int64 log_id; ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] SChannel(void) ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_LOGDATA(const string&)': urbackupclient/ClientServiceCMD.cpp:1302:9: warning: unused variable 'cpos' [-Wunused-variable] size_t cpos=ldata.find(" "); ^~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_GET_ACCESS_PARAMS(str_map&)': urbackupclient/ClientServiceCMD.cpp:2633:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_FILE_RESTORE(const string&)': urbackupclient/ClientServiceCMD.cpp:2748:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr access_keys( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientServiceCMD.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp:2797:11: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete restore_files; ^~~~~~~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_RESTORE_OK(str_map&)': urbackupclient/ClientServiceCMD.cpp:2840:9: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete restore_files; ^~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] const char* tokens_path = "urbackup/tokens"; ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:9, from urbackupclient/RestoreFiles.h:5, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/lin_tokens.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] 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] pw->pw_uid <= uid_max )) && ~~~~~~~~~~~^~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'bool tokens::write_token(std::__cxx11::string, bool, std::__cxx11::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] 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] pw->pw_uid > uid_max ) ) ~~~~~~~~~~~^~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::__cxx11::string tokens::translate_tokens(uid_t, gid_t, mode_t, ClientDAO*, tokens::ETokenRight, tokens::TokenCache&)': urbackupclient/lin_tokens.cpp:605:8: warning: enumeration value 'ETokenRight_Delete' not handled in switch [-Wswitch] switch(right) ^ In file included from urbackupclient/lin_tokens.cpp:13: urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::__cxx11::string tokens::translate_tokens(uid_t, gid_t, mode_t, ClientDAO*, tokens::ETokenRight, tokens::TokenCache&)': urbackupclient/lin_tokens.cpp:672:13: warning: 'igrp' may be used uninitialized in this function [-Wmaybe-uninitialized] if( (mode & igrp) == igrp) ~~~~~~^~~~~~~ urbackupclient/lin_tokens.cpp:658:13: warning: 'iusr' may be used uninitialized in this function [-Wmaybe-uninitialized] if( (mode & iusr) == iusr) ~~~~~~^~~~~~~ urbackupclient/lin_tokens.cpp:640:17: warning: 'iall' may be used uninitialized in this function [-Wmaybe-uninitialized] else if( (mode & iall) == iall) ~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/common_tokens.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupclient/RestoreDownloadThread.h:3, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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:111:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/RestoreDownloadThread.h:112:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/RestoreDownloadThread.h:59:7: warning: 'RestoreDownloadThread' has a field 'RestoreDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreDownloadThread.cpp: In member function 'bool RestoreDownloadThread::load_file({anonymous}::SQueueItem)': urbackupclient/RestoreDownloadThread.cpp:206:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dest_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreDownloadThread.h:4, from urbackupclient/RestoreDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:9, from urbackupclient/RestoreDownloadThread.h:3, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupclient/RestoreFiles.h:5, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] 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:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:19: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr createFcChunked(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:19: urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool, bool, bool, int64, int, std::__cxx11::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] CTCPStack tcpstack; ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] int64 log_id; ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] SChannel(void) ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h: At global scope: urbackupclient/RestoreDownloadThread.h:111:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h:112:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h:59:7: warning: 'RestoreDownloadThread' has a field 'RestoreDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 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] std::auto_ptr update_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:130:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr update_cond; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In constructor '{anonymous}::RestoreUpdaterThread::RestoreUpdaterThread(int64, int64, int64, std::__cxx11::string)': urbackupclient/RestoreFiles.cpp:131:8: warning: '{anonymous}::RestoreUpdaterThread::stopped' will be initialized after [-Wreorder] bool stopped; ^~~~~~~ urbackupclient/RestoreFiles.cpp:130:29: warning: 'std::auto_ptr {anonymous}::RestoreUpdaterThread::update_cond' [-Wreorder] std::auto_ptr update_cond; ^~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:3: warning: when initialized here [-Wreorder] 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] std::string server_token; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:134:7: warning: 'int {anonymous}::RestoreUpdaterThread::curr_fn_pc' [-Wreorder] int curr_fn_pc; ^~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:3: warning: when initialized here [-Wreorder] 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:11: warning: deleting object of polymorphic class type '{anonymous}::RestoreUpdaterThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] std::auto_ptr delete_this(this); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:355:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_thread(new client::FileMetadataDownloadThread(*this, fc_metadata, client_token)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::openFiles(std::map, IFsFile*>&, bool&)': urbackupclient/RestoreFiles.cpp:906:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr orig_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_RESTORE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:930:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_CREATE_RESTORE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::downloadFiles(FileClient&, int64, ScopedRestoreUpdater&, std::map, IFsFile*>&)': urbackupclient/RestoreFiles.cpp:960:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_chunked = createFcChunked(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:980:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_download(new RestoreDownloadThread(fc, *fc_chunked, client_token, metadata_path_mapping)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1470:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr orig_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1616:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashf; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1617:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashf2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1722:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp: At global scope: urbackupclient/RestoreFiles.cpp:1850:6: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr RestoreFiles::createFcChunked() ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'std::auto_ptr RestoreFiles::createFcChunked()': urbackupclient/RestoreFiles.cpp:1856:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1859:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new FileClientChunked(conn, true, &tcpstack, this, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupclient/RestoreFiles.h:8, from urbackupclient/RestoreFiles.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] const char* tokens_path = "urbackup/tokens"; ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:9, from urbackupclient/RestoreFiles.h:5, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/CTCPFileServ.cpp:22: fileservplugin/CTCPFileServ.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4005 ) fileservplugin/CTCPFileServ.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/CTCPFileServ.cpp:23: fileservplugin/CUDPThread.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::KickClients()': fileservplugin/CTCPFileServ.cpp:80:28: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete clientthreads[i]; ^ fileservplugin/CTCPFileServ.cpp: In member function 'bool CTCPFileServ::Start(_u16, _u16, std::__cxx11::string, bool)': fileservplugin/CTCPFileServ.cpp:182:10: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete udpthread; ^~~~~~~~~ fileservplugin/CTCPFileServ.cpp:194:11: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete udpthread; ^~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::DelClientThreads()': fileservplugin/CTCPFileServ.cpp:278:27: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete clientthreads[i]; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, ^~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h: At global scope: urbackupclient/client.h:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:23: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/TokenCallback.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, from urbackupclient/client.h:13, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.cpp:20: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/CUDPThread.cpp:28: fileservplugin/CUDPThread.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CUDPThread.cpp: In member function 'virtual void CUDPThread::operator()()': fileservplugin/CUDPThread.cpp:294:10: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from fileservplugin/CUDPThread.cpp:33: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/FileServFactory.cpp: In member function 'virtual void ExecThread::operator()()': fileservplugin/FileServFactory.cpp:51:10: warning: deleting object of polymorphic class type 'ExecThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from fileservplugin/FileServFactory.cpp:22: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:60: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:96:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:60: fsimageplugin/fs/../filesystem.h:97:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr readahead_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:64: fsimageplugin/CompressedFile.h:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hotCache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::decompress_vhd(const string&, const string&)': fsimageplugin/dllmain.cpp:109:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr vhdfile(new VHDFile(fn, true, 0)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::assemble_vhd(const std::vector >&, const string&)': fsimageplugin/dllmain.cpp:250:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(fn[i]+".mbr", MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/dllmain.cpp:354:9: warning: unused variable 'curr_pos' [-Wunused-variable] int64 curr_pos=0; ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'void LoadActions_fsimageplugin(IServer*)': fsimageplugin/dllmain.cpp:811:15: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if(currpos!=skip) ~~~~~~~^~~~~~ fsimageplugin/dllmain.cpp:935:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr in(open_device_file(image_verify)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fsimageplugin/dllmain.cpp:1064:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr in(open_device_file(device_verify)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:214, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:50: fsimageplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:49: fsimageplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/CClientThread.cpp:26: fileservplugin/CTCPFileServ.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4005 ) fileservplugin/CTCPFileServ.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:33: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:31:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pipe_file_user; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeFileBase.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr metadata_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:114:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr errpipe; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(int, CTCPFileServ*)': fileservplugin/CClientThread.h:208:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] std::vector* extra_buffer; ^~~~~~~~~~~~ fileservplugin/CClientThread.h:203:7: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] bool waiting_for_chunk; ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:91:1: warning: when initialized here [-Wreorder] 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:208:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] std::vector* extra_buffer; ^~~~~~~~~~~~ fileservplugin/CClientThread.h:203:7: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] bool waiting_for_chunk; ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:127:1: warning: when initialized here [-Wreorder] CClientThread::CClientThread(IPipe *pClientpipe, CTCPFileServ* pParent, std::vector* extra_buffer) ^~~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::ProcessPacket(CRData*)': fileservplugin/CClientThread.cpp:1209:26: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (rc == 0 && rc < count && errno == 0) //other process made the file smaller ~~~^~~~~~~ fileservplugin/CClientThread.cpp:1104:10: warning: unused variable 'has_error' [-Wunused-variable] bool has_error=false; ^~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileBlockdiff(CRData*, bool)': fileservplugin/CClientThread.cpp:1800:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pipe_file_user; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fileservplugin/CClientThread.cpp:1952:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] srv_file = Server->openFileFromHandle((void*)hFile, filename); ^~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileHashAndMetadata(CRData*)': fileservplugin/CClientThread.cpp:2172:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fileservplugin/CClientThread.cpp:2172:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); ^~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendFullFile(IFile*, _i64, bool)': fileservplugin/CClientThread.cpp:2326:8: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2342:11: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (rc == SOCKET_ERROR) fileservplugin/CClientThread.cpp: In static member function 'static std::__cxx11::string CClientThread::getDummyMetadata(std::__cxx11::string, int64, int64, bool)': fileservplugin/CClientThread.cpp:2541:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback(FileServ::newTokenCallback()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/CClientThread.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendSparseExtents(const std::vector&)': fileservplugin/CClientThread.cpp:2795:8: warning: unused variable 'last_sparse_pos' [-Wunused-variable] int64 last_sparse_pos = 0; ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2796:9: warning: unused variable 'curr_sparse_ext' [-Wunused-variable] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CTCPFileServ.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4996 ) In file included from fileservplugin/FileServ.cpp:26: fileservplugin/CUDPThread.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/FileServ.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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:19:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr file_ext; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/FileServ.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:77:14: warning: 'FileServ::servername' will be initialized after [-Wreorder] std::string servername; ^~~~~~~~~~ fileservplugin/FileServ.h:76:20: warning: 'THREADPOOL_TICKET FileServ::serverticket' [-Wreorder] THREADPOOL_TICKET serverticket; ^~~~~~~~~~~~ fileservplugin/FileServ.cpp:42:1: warning: when initialized here [-Wreorder] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:21: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupclientbackend-PipeSessions.o `test -f 'fileservplugin/PipeSessions.cpp' || echo './'`fileservplugin/PipeSessions.cpp In file included from fileservplugin/PipeSessions.h:2, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr metadata_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:114:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr errpipe; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:140:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ fileservplugin/PipeSessions.cpp: In member function 'virtual void PipeSessions::operator()()': fileservplugin/PipeSessions.cpp:339:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( !it->second.retrieving_exit_info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (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:490:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr waitpipe(Server->createMemoryPipe()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:2, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if(pos!=f->Size()) ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileBase.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h: In constructor 'PipeFileBase::PipeFileBase(const string&)': fileservplugin/PipeFileBase.h:99:8: warning: 'PipeFileBase::curr_pos' will be initialized after [-Wreorder] int64 curr_pos; ^~~~~~~~ fileservplugin/PipeFileBase.h:83:7: warning: 'bool PipeFileBase::has_error' [-Wreorder] bool has_error; ^~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] PipeFileBase::PipeFileBase(const std::string& pCmd) ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:102:9: warning: 'PipeFileBase::buf_r_pos' will be initialized after [-Wreorder] size_t buf_r_pos; ^~~~~~~~~ fileservplugin/PipeFileBase.h:101:9: warning: 'size_t PipeFileBase::buf_w_reserved_pos' [-Wreorder] size_t buf_w_reserved_pos; ^~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] PipeFileBase::PipeFileBase(const std::string& pCmd) ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:109:8: warning: 'PipeFileBase::stream_size' will be initialized after [-Wreorder] int64 stream_size; ^~~~~~~~~~~ fileservplugin/PipeFileBase.h:103:7: warning: 'bool PipeFileBase::buf_circle' [-Wreorder] bool buf_circle; ^~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 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 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 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] 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] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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:9, from urbackupclient/FileMetadataDownloadThread.h:2, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr extent_iterator; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] 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:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/FileMetadataDownloadThread.h:4, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/RestoreFiles.h:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr createFcChunked(); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool, bool, bool, int64, int, std::__cxx11::string)': urbackupclient/RestoreFiles.h:113:12: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] CTCPStack tcpstack; ^~~~~~~~ urbackupclient/RestoreFiles.h:108:19: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] ScopedDeleteFile filelist_del; ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:11: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] IFsFile* filelist; ^~~~~~~~ urbackupclient/RestoreFiles.h:105:8: warning: 'int64 RestoreFiles::log_id' [-Wreorder] int64 log_id; ^~~~~~ urbackupclient/RestoreFiles.h:25:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr tmp_f(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here 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] std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:124, 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++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:214:9: warning: unused variable 'is_dir' [-Wunused-variable] 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::__cxx11::string&)': urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_dev); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_mode); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_uid); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_gid); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_rdev); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_atime); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM32(st_atim.tv_nsec); ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_mtime); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM32(st_mtim.tv_nsec); ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM(st_ctime); ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] #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' SET_STAT_MEM32(st_ctim.tv_nsec); ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:578:9: warning: unused variable 'b' [-Wunused-variable] bool b = data.getVarInt(&dummy); ^ urbackupclient/FileMetadataDownloadThread.cpp:582:8: warning: unused variable 'b' [-Wunused-variable] bool b = data.getStr(&symlink_target); ^ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] const char* tokens_path = "urbackup/tokens"; ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:9, from urbackupclient/FileMetadataDownloadThread.h:2, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring #pragma warning [-Wunknown-pragmas] #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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ fileservplugin/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -DOS_FUNC_NO_NET -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.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h:19:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr file_ext; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h: In constructor 'PipeFileExt::PipeFileExt(IPipeFileExt*, std::__cxx11::string)': fileservplugin/PipeFileExt.h:19:30: warning: 'PipeFileExt::file_ext' will be initialized after [-Wreorder] std::auto_ptr file_ext; ^~~~~~~~ fileservplugin/PipeFileExt.cpp:4:39: warning: base 'PipeFileBase' [-Wreorder] : file_ext(file_ext), PipeFileBase(fn) ^ fileservplugin/PipeFileExt.cpp:3:1: warning: when initialized here [-Wreorder] 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] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client_restore.cpp: In function '{anonymous}::EDownloadResult {anonymous}::downloadImage(int, std::__cxx11::string, std::__cxx11::string, bool, {anonymous}::LoginData, {anonymous}::DownloadStatus&, int, int64*, int64*)': urbackupclient/client_restore.cpp:562:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client_restore.cpp:579:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr out_file(Server->openFile(restore_out, MODE_RW_READNONE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'int {anonymous}::downloadFiles(int, std::__cxx11::string)': urbackupclient/client_restore.cpp:793:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/../urbackupcommon/mbrdata.h:7, from urbackupclient/client_restore.cpp:39: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'std::__cxx11::string {anonymous}::getPartitionPath(const string&, int)': urbackupclient/client_restore.cpp:978:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::SLsblk>::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(partnum::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (partitions.size() - i == mbrdata.partition_number) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2259:11: warning: enumeration value 'EDownloadResult_Ok' not handled in switch [-Wswitch] switch(rc) ^ urbackupclient/client_restore.cpp: In function 'bool {anonymous}::do_login({anonymous}::LoginData&)': urbackupclient/client_restore.cpp:1599:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("clear"); ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1600:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/trying_to_login"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void ping_named_server()': urbackupclient/client_restore.cpp:1385:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("./urbackuprestoreclient --ping-server \""+out+"\" &").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void configure_internet_server()': urbackupclient/client_restore.cpp:1440:10: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1447:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1459:10: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1466:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1470:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("clear"); ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1472:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("systemctl stop restore-client"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1526:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("systemctl stop restore-client-internet"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1528:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("systemctl start restore-client"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1556:9: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("bash"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp: In function 'void restore_wizard()': urbackupclient/client_restore.cpp:1706:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/welcome`\" 10 70"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1713:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("clear"); ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1714:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/search_network"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1741:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(configure_networkcard.c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1746:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(configure_wlan.c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1751:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("bash"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:1773:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] 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:1830:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(configure_networkcard.c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1835:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(configure_wlan.c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1850:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("bash"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2002:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("clear"); ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:2003:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/loading_mbr"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2004:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2009:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("touch mbr.dat"); ~~~~~~^~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2019:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/reading_mbr"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2020:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2050:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/writing_mbr"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2051:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2092:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/writing_gpt_header"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2093:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2102:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/writing_gpt_table"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2103:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2112:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/writing_backup_gpt_header"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2113:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2121:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/writing_backup_gpt_table"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2122:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2132:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo -e \"w\\nY\" | gdisk " + seldrive).c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2139:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo -e \"w\\nY\" | gdisk " + seldrive + " > /dev/null 2>&1").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2155:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/reading_partition_table"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2156:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2158:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2160:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/testing_partition"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2161:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2172:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2174:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("cat urbackup/restore/testing_partition"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2175:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("echo"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2188:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo w | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2189:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo -e \"w\\nY\" | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2194:14: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo -e \"w\\nY\" | gdisk " + seldrive).c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2209:16: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("read -n1 -r -p \"Press any key to continue...\" key"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2219:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("echo -e \""+cmd+"\" | gdisk " + seldrive).c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2246:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] 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:2287:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("bash"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2319:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("init 6"); ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2323:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("bash"); ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2325:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(("python3 driver_edit.py "+windows_partition).c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2327:12: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("init 6"); ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2332:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/computer_halt`\" 7 50"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2333:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("init 0"); ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2353:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("dialog --msgbox \"`cat urbackup/restore/internal_error`!!!!\" 7 50"); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: At global scope: urbackupclient/client_restore.cpp:435:26: warning: 'std::vector<{anonymous}::SFileBackup> {anonymous}::getFileBackups(std::__cxx11::string, int*)' defined but not used [-Wunused-function] std::vector getFileBackups(std::string clientname, int *ec) ^~~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:26: urbackupclient/../stringtools.h:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int little_endian(unsigned int x) ^~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:23: urbackupclient/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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] #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring #pragma warning [-Wunknown-pragmas] #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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:31:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pipe_file_user; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/ChunkSendThread.h:7, from fileservplugin/ChunkSendThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/ChunkSendThread.h:7, from fileservplugin/ChunkSendThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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:40:7: warning: 'ChunkSendThread::has_error' will be initialized after [-Wreorder] bool has_error; ^~~~~~~~~ fileservplugin/ChunkSendThread.h:34:29: warning: 'IFileServ::CbtHashFileInfo ChunkSendThread::cbt_hash_file_info' [-Wreorder] IFileServ::CbtHashFileInfo cbt_hash_file_info; ^~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:63:1: warning: when initialized here [-Wreorder] ChunkSendThread::ChunkSendThread(CClientThread *parent) ^~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp: In member function 'virtual void ChunkSendThread::operator()()': fileservplugin/ChunkSendThread.cpp:176:100: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if(parent->SendInt(sdata.getDataPtr(), sdata.getDataSize(), chunk.requested_filesize<0)!=sdata.getDataSize()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:191:127: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (parent->SendInt(reinterpret_cast(sparse_extents.data()), sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) != sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:233:9: warning: deleting object of polymorphic class type 'ChunkSendThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileUnix.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] int hStderr; ^~~~~~~ fileservplugin/PipeFile.h:42:6: warning: 'int PipeFile::hStdout' [-Wreorder] int hStdout; ^~~~~~~ fileservplugin/PipeFileUnix.cpp:48:1: warning: when initialized here [-Wreorder] 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:2, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] bool exist; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr token_cache; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:280:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::__cxx11::string)': urbackupclient/client.h:282:9: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] size_t refcount; ^~~~~~~~ urbackupclient/client.h:280:24: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ urbackupclient/client.h:286:2: warning: when initialized here [-Wreorder] SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, ^~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: At global scope: urbackupclient/client.h:583:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr background_prio; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:641:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:737:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_filelist; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:742:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr index_hdat_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:51:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h:56:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr client_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:34: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:71:8: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] int64 eta_ms; ^~~~~~ urbackupclient/ClientService.h:68:8: warning: 'int64 SRunningProcess::server_id' [-Wreorder] int64 server_id; ^~~~~~~~~ urbackupclient/ClientService.h:56:2: warning: when initialized here [-Wreorder] SRunningProcess() ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::__cxx11::string, std::__cxx11::string, bool*, std::__cxx11::string, int, int, std::__cxx11::string)': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:137:2: warning: when initialized here [-Wreorder] SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:167:6: warning: 'SChannel::capa' will be initialized after [-Wreorder] int capa; ^~~~ urbackupclient/ClientService.h:155:6: warning: 'int SChannel::restore_version' [-Wreorder] int restore_version; ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:144:2: warning: when initialized here [-Wreorder] SChannel(void) ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/client.cpp:42: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sparse_extents_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h: In constructor 'IndexThread::IndexThread()': urbackupclient/client.h:678:7: warning: 'IndexThread::last_filebackup_filetime' will be initialized after [-Wreorder] _i64 last_filebackup_filetime; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.h:653:6: warning: 'int IndexThread::index_group' [-Wreorder] int index_group; ^~~~~~~~~~~ urbackupclient/client.cpp:402:1: warning: when initialized here [-Wreorder] IndexThread::IndexThread(void) ^~~~~~~~~~~ In file included from urbackupclient/client.cpp:19: urbackupclient/client.h:664:7: warning: 'IndexThread::with_scripts' will be initialized after [-Wreorder] bool with_scripts; ^~~~~~~~~~~~ urbackupclient/client.h:581:17: warning: 'SVolumesCache* IndexThread::volumes_cache' [-Wreorder] SVolumesCache* volumes_cache; ^~~~~~~~~~~~~ urbackupclient/client.cpp:402:1: warning: when initialized here [-Wreorder] IndexThread::IndexThread(void) ^~~~~~~~~~~ urbackupclient/client.cpp: In member function 'virtual void IndexThread::operator()()': urbackupclient/client.cpp:1320:9: warning: deleting object of polymorphic class type 'IndexThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupclient/client.cpp: In member function 'void IndexThread::indexDirs(bool, bool)': urbackupclient/client.cpp:1417:7: warning: variable 'has_stale_shadowcopy' set but not used [-Wunused-but-set-variable] bool has_stale_shadowcopy=false; ^~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'std::vector IndexThread::getFilesProxy(const string&, std::__cxx11::string, const string&, bool, const string&, bool, const std::vector >&, const std::vector&, int64&)': urbackupclient/client.cpp:2554:37: warning: variable 'it_dir' set but not used [-Wunused-but-set-variable] std::vector::iterator it_dir=changed_dirs.end(); ^~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cleanup_saved_shadowcopies(bool)': urbackupclient/client.cpp:3306:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] || scs[i].passedtime>shadowcopy_timeout/1000 urbackupclient/client.cpp: In static member function 'static bool IndexThread::backgroundBackupsEnabled(const string&)': urbackupclient/client.cpp:4678:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::writeTokens()': urbackupclient/client.cpp:4693:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr access_keys( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cbtIsEnabled(std::__cxx11::string, std::__cxx11::string)': urbackupclient/client.cpp:5197:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::crashPersistentCbtIsEnabled(std::__cxx11::string, std::__cxx11::string)': urbackupclient/client.cpp:5219:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const string&, std::__cxx11::string)': urbackupclient/client.cpp:6266:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr output_f(Server->openFile(fn, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const string&, const string&, IFile*)': urbackupclient/client.cpp:6291:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 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++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'std::__cxx11::string IndexThread::get_snapshot_script_location(const string&)': urbackupclient/client.cpp:6844:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings(Server->createFileSettingsReader(conffile)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::readSnapshotGroups()': urbackupclient/client.cpp:7026:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupclient/tokens.h:3, from urbackupclient/client.h:12, from urbackupclient/client.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:4, 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] 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] 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:306:13: warning: 'std::__cxx11::string {anonymous}::big_endian_utf16(std::__cxx11::string)' defined but not used [-Wunused-function] std::string big_endian_utf16(std::string str) ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:244:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short big_endian(unsigned short x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:232:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] unsigned int big_endian(unsigned int x) ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:156:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] unsigned short little_endian(unsigned short x) ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 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:165:13: warning: 'std::__cxx11::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] std::string readToString(IFile* f) ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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::__cxx11::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:8: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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] std::auto_ptr metadata_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:114:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr errpipe; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:214, from fileservplugin/PipeFileBase.h:6, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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:115:9: warning: 'FileMetadataPipe::pipe' will be initialized after [-Wreorder] IPipe* pipe; ^~~~ fileservplugin/FileMetadataPipe.h:71:14: warning: 'FileMetadataPipe::BackupState FileMetadataPipe::backup_state' [-Wreorder] BackupState backup_state; ^~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) ^~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:114:23: warning: 'FileMetadataPipe::errpipe' will be initialized after [-Wreorder] std::auto_ptr errpipe; ^~~~~~~ fileservplugin/FileMetadataPipe.h:106:23: warning: 'std::auto_ptr FileMetadataPipe::metadata_file' [-Wreorder] std::auto_ptr metadata_file; ^~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) ^~~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp: In function 'bool {anonymous}::get_xattr(const string&, const string&, std::__cxx11::string&)': fileservplugin/FileMetadataPipe.cpp:1078: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] if(bufsizeSize()) ~~~^~~~~~~~~~~ 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:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] 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:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr buffer_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 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] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:140:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:2: warning: when initialized here [-Wreorder] SPipeSession() ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::__cxx11::string)': fileservplugin/PipeSessions.h:35:8: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] int64 addtime; ^~~~~~~ fileservplugin/PipeSessions.h:31:14: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] ICondition* retrieval_cond; ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:2: warning: when initialized here [-Wreorder] 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] std::auto_ptr metadata_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:114:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr errpipe; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(const string&, int, int64, std::__cxx11::string, const string&, const string&)': fileservplugin/PipeFileTar.h:142:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] PipeFileStore* pipe_file; ^~~~~~~~~ fileservplugin/PipeFileTar.h:133:8: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] int64 file_offset; ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 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:150:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] std::string output_fn; ^~~~~~~~~ fileservplugin/PipeFileTar.h:145:8: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] int64 fn_random; ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 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::identity' will be initialized after [-Wreorder] std::string identity; ^~~~~~~~ fileservplugin/PipeFileTar.h:138:8: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] int64 hash_pos; ^~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 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::__cxx11::string, const string&, const string&)': fileservplugin/PipeFileTar.h:142:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] PipeFileStore* pipe_file; ^~~~~~~~~ fileservplugin/PipeFileTar.h:135:11: warning: 'PipeFileTar::STarFile PipeFileTar::tar_file' [-Wreorder] STarFile tar_file; ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 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:135:11: warning: 'PipeFileTar::tar_file' will be initialized after [-Wreorder] STarFile tar_file; ^~~~~~~~ fileservplugin/PipeFileTar.h:133:8: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] int64 file_offset; ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 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:150:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] std::string output_fn; ^~~~~~~~~ fileservplugin/PipeFileTar.h:145:8: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] int64 fn_random; ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 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::identity' will be initialized after [-Wreorder] std::string identity; ^~~~~~~~ fileservplugin/PipeFileTar.h:138:8: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] int64 hash_pos; ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 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:229:8: warning: unused variable 'pos' [-Wunused-variable] int64 pos = tar_file.pos; ^~~ fileservplugin/PipeFileTar.cpp: In member function 'std::__cxx11::string PipeFileTar::buildCurrMetadata()': fileservplugin/PipeFileTar.cpp:360:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr token_callback(FileServ::newTokenCallback()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:103, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:124, from fileservplugin/CClientThread.h:24, from fileservplugin/PipeFileTar.cpp:1: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here 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] const static char* sha_def_identifier = "sha512"; ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' x86_64-alt-linux-g++ -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -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 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 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/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 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 -L/usr/lib -lsqlite3 -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.8297 + 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 + cd urbackup-client-2.3.4.0 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/urbackup-client-buildroot make: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' /bin/mkdir -p '/usr/src/tmp/urbackup-client-buildroot/usr/bin' /bin/install -p urbackupclientctl '/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' /bin/install -p urbackupclientbackend '/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" /bin/install -p "./urbackupclient/backup_scripts/list" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/list" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" || /bin/install -p "./urbackupclient/backup_scripts/mariadbdump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" /bin/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" || /bin/install -p "./urbackupclient/backup_scripts/postgresqldump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresqldump.conf" /bin/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" || /bin/install -p "./urbackupclient/backup_scripts/postgresbase.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresbase.conf" /bin/install -p "./urbackupclient/backup_scripts/postgresbase" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresbase" /bin/install -p "./urbackupclient/backup_scripts/postgresqlprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlprebackup" /bin/install -p "./urbackupclient/backup_scripts/postgresqlpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlpostbackup" /bin/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" || /bin/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf" /bin/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup" /bin/install -p "./urbackupclient/backup_scripts/restore-mariadbbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup" /bin/install -p "./urbackupclient/backup_scripts/mariadbprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbprebackup" /bin/install -p "./urbackupclient/backup_scripts/mariadbpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbpostbackup" /bin/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/"* /bin/install -p -m 644 "./client/version.txt" "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/version.txt" /bin/install -p -m 644 "./client/data/urbackup_ecdsa409k1.pub" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/" /bin/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.3.4.0' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.0' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.3.4.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 + sed -i s@/usr/local/sbin/urbackupclientbackend@/usr/sbin/urbackupclientbackend@g urbackupclientbackend-redhat.service + 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 + 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' 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' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) Verifying and fixing files in /usr/src/tmp/urbackup-client-buildroot (binconfig,pkgconfig,libtool,desktop) 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: ./var/lib: 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) Hardlinking identical .pyc and .pyo files Processing files: urbackup-client-2.3.4-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.14458 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.3.4.0 + DOCDIR=/usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + /bin/mkdir -p /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + chmod -R go-w /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + chmod -R a+rX /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.3.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Inx4RB find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g0B4tT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) 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/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: chown cp errcho find mkdir mv rm service su Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uUcK1m Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.okhRoU Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, findutils, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(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), libcryptopp.so.7()(64bit) >= set:riep90YGzhSNQdE1rq24xqHsKrKBMYP7Ih1YgXSkGiex42NAxMOHCBIl8qe1FoOkT4gMdJZjNke37et6MZa9Jy8841HA6rd2em3kOvShhXay3Gw8xuQkotiQzpiZK46bZJgJ7WoiRUjPquRqI6P9gy24SUk193zuRAkO0cYlQ25OJgF6C3xgFOaLdLH1BtvUBNVcZmVp0GL5qmiTHiDN8klZ9bQbdFPyVg1H2DBDbncPbM0SxAtZiYWjrZDSOoZ8vsEZLZ8IseuROZD2rKNeJE9h1HmiQZ18tY7LgWA3PdhqMTuwZwN57PsZqU4Dcf6XtNMsOJahpVUyYFdHIepjrhrd1IF2OSxzdS9WARZkSN4iqInBJ5nXZFn2yA4yi8jq6dR7F0WeKSNhqIlFEALrOWCDZyoRNAHCyhZ8evtoAW0zWZ1eU5yg3bwEMZKjfwdyJrp12ZjuF6Jzy7QqBG2vyZeeOlGP2hvlIUFGY0YcmSVawutDJgnZbYlbo6Gi9GZhiyMtAAhBSrq3oi3Uc1WnPacaykBtJuj0XDDPzz8raQASbnI2ZkNkEAomdSfDEMOOIUyHWvcsaJ2eHZmOSACNuFUPYf1yWyuDHjZ14gMZtk0WchuWDLTKS9cQAPY0WCwIAic2ZEQN804T9KP0Z4mvC5lL22g6LEZpDrKBeS5IYhqqFDq7AT2nId6mFeJj51pV8hQ8WFiY2avAs16zrEwHDMA3S1K1uTcVzjKJp14cmyFqY3PM6KhZ8BORqhVZnk4rZe4nohCBtoZ75iemHCpTdwlw5iLVxPmZnDQlJAJdjebOuypCkZFxq4hCx670ghP9kp0fYMdIZzBm7BaFAKlATY0MfTDb7c2YFhuJoR3aQFfh9n5nR9vLWhDaxitfcnUTKlNj82mCuoQ7qU1Z9OxwonW6bT9BjrzZmHi0MnG1jwGnE3i31EZyl7ZDzsBXRHEGOysUm1, libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(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:oibWgxXi0EmaiVxUZdlkDczweUOqyd16q8kUpcfzLtZqPBkbtoGpOrl7jCZdSdBHk0mPqqe7VpGU8kVywkCaKvuUF4WBVsMSioHqxPAD8WnHLIQ62xFRNla3ZbCZbkJDx9LIgXSKcSoiuPB4FUl9K7xyEkdOqIoRFTnhd, 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, rtld(GNU_HASH), rtld(GNU_UNIQUE), service, su 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.m4ugyx Creating urbackup-client-debuginfo package Processing files: urbackup-client-debuginfo-2.3.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SLC7Gi find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YrIWV6 find-requires: running scripts (debuginfo) Requires: urbackup-client = 2.3.4-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcryptopp.so.7), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpthread.so.0), debug64(libsqlite3.so.0), debug64(libstdc++.so.6), debug64(libz.so.1) Adding to urbackup-client-debuginfo a strict dependency on urbackup-client Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-2.3.4-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-debuginfo-2.3.4-alt1.x86_64.rpm 298.99user 17.70system 3:22.35elapsed 156%CPU (0avgtext+0avgdata 424904maxresident)k 0inputs+0outputs (0major+6953914minor)pagefaults 0swaps 303.78user 19.89system 3:30.28elapsed 153%CPU (0avgtext+0avgdata 424904maxresident)k 2536inputs+0outputs (0major+7250745minor)pagefaults 0swaps