<86>May 7 10:14:11 userdel[2201223]: delete user 'rooter' <86>May 7 10:14:11 userdel[2201223]: removed shadow group 'rooter' owned by 'rooter' <86>May 7 10:14:11 groupadd[2201243]: group added to /etc/group: name=rooter, GID=1380 <86>May 7 10:14:11 groupadd[2201243]: group added to /etc/gshadow: name=rooter <86>May 7 10:14:11 groupadd[2201243]: new group: name=rooter, GID=1380 <86>May 7 10:14:11 useradd[2201259]: new user: name=rooter, UID=1380, GID=1380, home=/root, shell=/bin/bash <86>May 7 10:14:11 userdel[2201284]: delete user 'builder' <86>May 7 10:14:11 userdel[2201284]: removed group 'builder' owned by 'builder' <86>May 7 10:14:11 groupadd[2201309]: group added to /etc/group: name=builder, GID=1381 <86>May 7 10:14:11 groupadd[2201309]: group added to /etc/gshadow: name=builder <86>May 7 10:14:11 groupadd[2201309]: new group: name=builder, GID=1381 <86>May 7 10:14:11 useradd[2201335]: new user: name=builder, UID=1381, GID=1381, home=/usr/src, shell=/bin/bash <13>May 7 10:14:13 rpmi: udev-rules-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>May 7 10:14:13 rpmi: mount-2.33.2-alt2 p9+254003.100.1.1 1593108026 installed <13>May 7 10:14:13 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed <13>May 7 10:14:13 rpmi: msulogin-1.0-alt1 1366288481 installed <13>May 7 10:14:13 rpmi: sysvinit-2.88-alt5 1424350685 installed <13>May 7 10:14:13 rpmi: libsqlite3-3.33.0-alt1 p9+258834.40.2.1 1601364885 installed <13>May 7 10:14:13 rpmi: lua5.3-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>May 7 10:14:13 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001689 installed <13>May 7 10:14:13 rpmi: publicsuffix-list-dafsa-20230404-alt1 p9+318119.100.2.1 1681727105 installed <13>May 7 10:14:13 rpmi: libpsl-0.21.1-alt3 p9+308015.200.2.1 1670864661 installed <13>May 7 10:14:13 rpmi: libnghttp2-1.41.0-alt1 p9+256449.100.1.1 1597829543 installed <13>May 7 10:14:13 rpmi: openldap-common-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>May 7 10:14:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>May 7 10:14:13 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>May 7 10:14:13 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>May 7 10:14:13 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>May 7 10:14:13 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>May 7 10:14:13 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 7 10:14:13 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>May 7 10:14:14 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>May 7 10:14:14 rpmi: libdevmapper-1.02.173-alt1 p9+259866.100.1.1 1602632323 installed <13>May 7 10:14:14 rpmi: udev-hwdb-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>May 7 10:14:14 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>May 7 10:14:14 rpmi: libiptables-1.8.3-alt2 p9+238412.300.6.1 1570110065 installed <13>May 7 10:14:14 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>May 7 10:14:14 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>May 7 10:14:14 rpmi: hwclock-1:2.33.2-alt2 p9+254003.100.1.1 1593108026 installed <13>May 7 10:14:14 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>May 7 10:14:14 rpmi: losetup-2.33.2-alt2 p9+254003.100.1.1 1593108026 installed <13>May 7 10:14:14 rpmi: lsblk-2.33.2-alt2 p9+254003.100.1.1 1593108026 installed <13>May 7 10:14:14 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>May 7 10:14:14 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>May 7 10:14:14 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>May 7 10:14:14 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 10:14:14 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 10:14:14 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed <13>May 7 10:14:14 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>May 7 10:14:14 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>May 7 10:14:14 rpmi: libcrypto1.1-1.1.1t-alt1 p9+314826.100.5.1 1676897865 installed <13>May 7 10:14:14 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>May 7 10:14:14 rpmi: libssl1.1-1.1.1t-alt1 p9+314826.100.5.1 1676897865 installed <86>May 7 10:14:14 groupadd[2209058]: group added to /etc/group: name=_keytab, GID=499 <86>May 7 10:14:14 groupadd[2209058]: group added to /etc/gshadow: name=_keytab <86>May 7 10:14:14 groupadd[2209058]: new group: name=_keytab, GID=499 <13>May 7 10:14:14 rpmi: libkrb5-1.17.2-alt4 p9+310094.100.3.1 1669309764 installed <13>May 7 10:14:14 rpmi: startup-0.9.9.10-alt1 p9+263519.100.1.1 1608121516 installed <13>May 7 10:14:14 rpmi: systemd-utils-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <86>May 7 10:14:14 groupadd[2209747]: group added to /etc/group: name=sasl, GID=498 <86>May 7 10:14:14 groupadd[2209747]: group added to /etc/gshadow: name=sasl <86>May 7 10:14:14 groupadd[2209747]: new group: name=sasl, GID=498 <13>May 7 10:14:14 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>May 7 10:14:14 rpmi: libldap-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>May 7 10:14:14 rpmi: libcurl-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>May 7 10:14:14 rpmi: kmod-26-alt1 sisyphus+226359.100.1.1 1554129988 installed <13>May 7 10:14:14 rpmi: dmsetup-1.02.173-alt1 p9+259866.100.1.1 1602632323 installed <86>May 7 10:14:14 groupadd[2209976]: group added to /etc/group: name=tape, GID=497 <86>May 7 10:14:14 groupadd[2209976]: group added to /etc/gshadow: name=tape <86>May 7 10:14:14 groupadd[2209976]: new group: name=tape, GID=497 <86>May 7 10:14:14 groupadd[2209990]: group added to /etc/group: name=dialout, GID=496 <86>May 7 10:14:14 groupadd[2209990]: group added to /etc/gshadow: name=dialout <86>May 7 10:14:14 groupadd[2209990]: new group: name=dialout, GID=496 <86>May 7 10:14:14 groupadd[2210002]: group added to /etc/group: name=input, GID=495 <86>May 7 10:14:14 groupadd[2210002]: group added to /etc/gshadow: name=input <86>May 7 10:14:14 groupadd[2210002]: new group: name=input, GID=495 <86>May 7 10:14:14 groupadd[2210016]: group added to /etc/group: name=video, GID=494 <86>May 7 10:14:14 groupadd[2210016]: group added to /etc/gshadow: name=video <86>May 7 10:14:14 groupadd[2210016]: new group: name=video, GID=494 <86>May 7 10:14:14 groupadd[2210022]: group added to /etc/group: name=render, GID=493 <86>May 7 10:14:14 groupadd[2210022]: group added to /etc/gshadow: name=render <86>May 7 10:14:14 groupadd[2210022]: new group: name=render, GID=493 <86>May 7 10:14:14 groupadd[2210035]: group added to /etc/group: name=vmusers, GID=492 <86>May 7 10:14:14 groupadd[2210035]: group added to /etc/gshadow: name=vmusers <86>May 7 10:14:14 groupadd[2210035]: new group: name=vmusers, GID=492 <13>May 7 10:14:14 rpmi: udev-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <86>May 7 10:14:14 groupadd[2210087]: group added to /etc/group: name=fuse, GID=491 <86>May 7 10:14:14 groupadd[2210087]: group added to /etc/gshadow: name=fuse <86>May 7 10:14:14 groupadd[2210087]: new group: name=fuse, GID=491 <86>May 7 10:14:14 groupadd[2210102]: group added to /etc/group: name=cuse, GID=490 <86>May 7 10:14:14 groupadd[2210102]: group added to /etc/gshadow: name=cuse <86>May 7 10:14:14 groupadd[2210102]: new group: name=cuse, GID=490 <13>May 7 10:14:14 rpmi: fuse-common-1.1.2-alt1 p9+282095.100.3.1 1628778700 installed <13>May 7 10:14:14 rpmi: fuse-2.9.9-alt1 sisyphus+225075.300.1.1 1552666436 installed <13>May 7 10:14:14 rpmi: libfuse-2.9.9-alt1 sisyphus+225075.300.1.1 1552666436 installed <13>May 7 10:14:14 rpmi: libfuse-devel-2.9.9-alt1 sisyphus+225075.300.1.1 1552666436 installed <13>May 7 10:14:14 rpmi: libcurl-devel-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>May 7 10:14:14 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>May 7 10:14:14 rpmi: liblmdb-devel-0.9.23-alt1 sisyphus+225277.100.2.1 1553001689 installed <13>May 7 10:14:14 rpmi: liblua5.3-devel-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>May 7 10:14:14 rpmi: libsqlite3-devel-3.33.0-alt1 p9+258834.40.2.1 1601364885 installed <13>May 7 10:14:14 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>May 7 10:14:14 rpmi: libzstd-devel-1.5.0-alt2 p9+276707.60.5.1 1625588062 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/urbackup-server-2.4.13-alt3.nosrc.rpm (w1.gzdio) Installing urbackup-server-2.4.13-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67284 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf urbackup-server-2.4.13 + echo 'Source #0 (urbackup-server-2.4.13.tar.gz):' Source #0 (urbackup-server-2.4.13.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-server-2.4.13.tar.gz + /bin/tar -xf - + cd urbackup-server-2.4.13 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (urbackup-server-fix-link-sqlite3.patch):' Patch #1 (urbackup-server-fix-link-sqlite3.patch): + /usr/bin/patch -p1 patching file Makefile.am Hunk #1 succeeded at 90 with fuzz 1 (offset 13 lines). + echo 'Patch #4 (urbackup-server-2.4.11-no-update.patch):' Patch #4 (urbackup-server-2.4.11-no-update.patch): + /usr/bin/patch -p1 patching file urbackupserver/server_update.cpp + sed -i s@/var/urbackup@/var/lib/urbackup@g docs/urbackupsrv.1 + sed -i s@/etc/default/urbackupsrv@/etc/sysconfig/urbackup-server@g urbackup-server.service + sed -i s,armhf,armh, cryptoplugin/src/configure.ac + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67284 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.4.13 + export SUID_CFLAGS=-fPIE + SUID_CFLAGS=-fPIE + export SUID_LDFLAGS=-fpie + SUID_LDFLAGS=-fpie + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: adding subdirectory cryptoplugin/src to autoreconf autoreconf-default: Entering directory `cryptoplugin/src' autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:68: installing './compile' configure.ac:61: installing './missing' Makefile.am: installing './depcomp' Makefile.am:280: warning: variable 'cryptest_SOURCES' is defined but no program or Makefile.am:280: library has 'cryptest' as canonical name (possible typo) Makefile.am:300: warning: variable 'cryptestcwd_SOURCES' is defined but no program or Makefile.am:300: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:296: warning: variable 'nodist_cryptest_SOURCES' is defined but no program or Makefile.am:296: library has 'cryptest' as canonical name (possible typo) Makefile.am:316: warning: variable 'nodist_cryptestcwd_SOURCES' is defined but no program or Makefile.am:316: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:297: warning: variable 'cryptest_LDADD' is defined but no program or Makefile.am:297: library has 'cryptest' as canonical name (possible typo) Makefile.am:317: warning: variable 'cryptestcwd_LDADD' is defined but no program or Makefile.am:317: library has 'cryptestcwd' as canonical name (possible typo) autoreconf-default: Leaving directory `cryptoplugin/src' autoreconf-default: configure.ac: not using Libtool autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-packaging --with-mountvhd --enable-embedded-cryptopp --without-embedded-sqlite3 --without-embedded-lua --without-embedded-lmdb 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 whether UID '1381' is supported by ustar format... yes checking whether GID '1381' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar 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 whether the compiler implements namespaces... yes 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 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 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 for ANSI C header files... (cached) 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 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 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 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 for operating system... 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 ZSTD_CCtx_setParameter in -lzstd... yes checking zstd.h usability... yes checking zstd.h presence... yes checking for zstd.h... yes checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.79.0 checking for libcurl >= version 7.20.0... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for SQLite3 library >= 3.8.7.0... yes checking for a sed that does not truncate output... /bin/sed checking for a Lua interpreter with version >= 5.3... lua checking for lua... /usr/bin/lua checking for lua version... 5.3 checking for lua platform... unknown checking for lua script directory... ${prefix}/share/lua/5.3 checking for lua module directory... ${exec_prefix}/lib64/lua/5.3 checking if LUA_VERSION is defined... yes checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking lauxlib.h usability... yes checking lauxlib.h presence... yes checking for lauxlib.h... yes checking luaconf.h usability... yes checking luaconf.h presence... yes checking for luaconf.h... yes checking for Lua header version... 5.3 checking if Lua header version matches 5.3... yes checking if LUA_VERSION is defined... yes checking for library containing exp... none required checking for library containing dlopen... -ldl checking for library containing lua_load... -llua-5.3 checking for library containing mdb_env_set_mapsize... -llmdb checking lmdb.h usability... yes checking lmdb.h presence... yes checking for lmdb.h... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for fuse >= 2.8.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 === configuring in cryptoplugin/src (/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-alt-linux' '--host=x86_64-alt-linux' '--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' '--enable-packaging' '--with-mountvhd' '--enable-embedded-cryptopp' '--without-embedded-sqlite3' '--without-embedded-lua' '--without-embedded-lmdb' 'build_alias=x86_64-alt-linux' 'host_alias=x86_64-alt-linux' 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' --cache-file=/dev/null --srcdir=. 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 build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for grep that handles long lines and -e... (cached) /bin/grep checking if static libraries should be enabled... yes checking if shared libraries should be enabled... yes checking for C++ compiler pthread support... yes checking for linker pthread support... yes checking whether byte ordering is bigendian... no checking if x86_64-alt-linux-g++ supports -fdata-sections... yes checking if x86_64-alt-linux-g++ supports -ffunction-sections... yes checking if ld -m elf_x86_64 supports -Wl,--gc-sections... yes checking if runtime library is Newlib... no checking if x86_64-alt-linux-g++ supports -msse2... yes checking if x86_64-alt-linux-g++ supports -mssse3... yes checking if x86_64-alt-linux-g++ supports -msse4.1... yes checking if x86_64-alt-linux-g++ supports -msse4.2... yes checking if x86_64-alt-linux-g++ supports -mssse3 -mpclmul... yes checking if x86_64-alt-linux-g++ supports -msse4.1 -maes... yes checking if x86_64-alt-linux-g++ supports -msse4.2 -msha... yes checking if x86_64-alt-linux-g++ supports -pipe... yes checking if ld -m elf_x86_64 supports -Wl,--exclude-libs,ALL... yes checking if ld -m elf_x86_64 supports -Wl,--as-needed... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libcryptopp.pc config.status: creating local.h config.status: executing depfiles commands config.status: executing libtool commands *********************************************************************** Auto-configuration complete. A summary of options are below. If something looks wrong then please modify config.h and please report it at http://github.com/noloader/cryptopp-autotools. Build triplet: x86_64-alt-linux-gnu Compiler target: x86_64-alt-linux Compiler version: x86_64-alt-linux-g++ (GCC) 8.4.1 20200305 (ALT p9 8.4.1-alt0.p9.1) Static library: yes Shared library: yes CRYPTOPP_SSE_FLAG: -msse2 CRYPTOPP_ARIA_FLAG: -mssse3 CRYPTOPP_BLAKE2_FLAG: -msse4.1 CRYPTOPP_CRC_FLAG: -msse4.2 CRYPTOPP_GCM_FLAG: -mssse3 -mpclmul CRYPTOPP_AES_FLAG: -msse4.1 -maes CRYPTOPP_SHA_FLAG: -msse4.2 -msha CRYPTOPP_SPECK_FLAG: -msse4.1 CRYPTOPP_SIMON_FLAG: -msse4.1 Automake flags (can be overridden by user flags): AM_CXXFLAGS: -pthread -fdata-sections -ffunction-sections -pipe AM_LDFLAGS: -pthread -Wl,--gc-sections -Wl,--exclude-libs,ALL -Wl,--as-needed User flags (overrides Automake flags on conflict): CXXFLAGS: -pipe -frecord-gcc-switches -Wall -g -O2 LDFLAGS: CXXFLAGS does not include -O3. You should consider building at -O3 to engage compiler vectorizations and enhance performance. The machine is 64-bit capable but -m64 is not present in CXXFLAGS *********************************************************************** + make -j16 make all-recursive Making all in cryptoplugin/src make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libcryptopp_la-adhoc.lo `test -f 'adhoc.cpp' || echo './'`adhoc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -c adhoc.cpp -fPIC -DPIC -o .libs/libcryptopp_la-adhoc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -c adhoc.cpp -o libcryptopp_la-adhoc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libppc_simd_la-ppc-simd.lo `test -f 'ppc-simd.cpp' || echo './'`ppc-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ppc-simd.cpp -fPIC -DPIC -o .libs/libppc_simd_la-ppc-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ppc-simd.cpp -o libppc_simd_la-ppc-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libneon_simd_la-neon-simd.lo `test -f 'neon-simd.cpp' || echo './'`neon-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c neon-simd.cpp -fPIC -DPIC -o .libs/libneon_simd_la-neon-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c neon-simd.cpp -o libneon_simd_la-neon-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libsse_simd_la-sse-simd.lo `test -f 'sse-simd.cpp' || echo './'`sse-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sse-simd.cpp -fPIC -DPIC -o .libs/libsse_simd_la-sse-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sse-simd.cpp -o libsse_simd_la-sse-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libcrc_simd_la-crc-simd.lo `test -f 'crc-simd.cpp' || echo './'`crc-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c crc-simd.cpp -fPIC -DPIC -o .libs/libcrc_simd_la-crc-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c crc-simd.cpp -o libcrc_simd_la-crc-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libcpu_la-cpu.lo `test -f 'cpu.cpp' || echo './'`cpu.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cpu.cpp -fPIC -DPIC -o .libs/libcpu_la-cpu.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cpu.cpp -o libcpu_la-cpu.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libgcm_simd_la-gcm-simd.lo `test -f 'gcm-simd.cpp' || echo './'`gcm-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gcm-simd.cpp -fPIC -DPIC -o .libs/libgcm_simd_la-gcm-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gcm-simd.cpp -o libgcm_simd_la-gcm-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libaria_simd_la-aria-simd.lo `test -f 'aria-simd.cpp' || echo './'`aria-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c aria-simd.cpp -fPIC -DPIC -o .libs/libaria_simd_la-aria-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c aria-simd.cpp -o libaria_simd_la-aria-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o librijndael_simd_la-rijndael-simd.lo `test -f 'rijndael-simd.cpp' || echo './'`rijndael-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rijndael-simd.cpp -fPIC -DPIC -o .libs/librijndael_simd_la-rijndael-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rijndael-simd.cpp -o librijndael_simd_la-rijndael-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ariatab.lo `test -f 'ariatab.cpp' || echo './'`ariatab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ariatab.cpp -fPIC -DPIC -o .libs/libothers_la-ariatab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ariatab.cpp -o libothers_la-ariatab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libspeck_simd_la-speck-simd.lo `test -f 'speck-simd.cpp' || echo './'`speck-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c speck-simd.cpp -fPIC -DPIC -o .libs/libspeck_simd_la-speck-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c speck-simd.cpp -o libspeck_simd_la-speck-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libshacal2_simd_la-shacal2-simd.lo `test -f 'shacal2-simd.cpp' || echo './'`shacal2-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shacal2-simd.cpp -fPIC -DPIC -o .libs/libshacal2_simd_la-shacal2-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shacal2-simd.cpp -o libshacal2_simd_la-shacal2-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libsha_simd_la-sha-simd.lo `test -f 'sha-simd.cpp' || echo './'`sha-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha-simd.cpp -fPIC -DPIC -o .libs/libsha_simd_la-sha-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha-simd.cpp -o libsha_simd_la-sha-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-algebra.lo `test -f 'algebra.cpp' || echo './'`algebra.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c algebra.cpp -fPIC -DPIC -o .libs/libothers_la-algebra.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c algebra.cpp -o libothers_la-algebra.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libblake2_simd_la-blake2-simd.lo `test -f 'blake2-simd.cpp' || echo './'`blake2-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blake2-simd.cpp -fPIC -DPIC -o .libs/libblake2_simd_la-blake2-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blake2-simd.cpp -o libblake2_simd_la-blake2-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-3way.lo `test -f '3way.cpp' || echo './'`3way.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c 3way.cpp -fPIC -DPIC -o .libs/libothers_la-3way.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c 3way.cpp -o libothers_la-3way.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libsimon_simd_la-simon-simd.lo `test -f 'simon-simd.cpp' || echo './'`simon-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c simon-simd.cpp -fPIC -DPIC -o .libs/libsimon_simd_la-simon-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c simon-simd.cpp -o libsimon_simd_la-simon-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-adler32.lo `test -f 'adler32.cpp' || echo './'`adler32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c adler32.cpp -fPIC -DPIC -o .libs/libothers_la-adler32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c adler32.cpp -o libothers_la-adler32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-algparam.lo `test -f 'algparam.cpp' || echo './'`algparam.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c algparam.cpp -fPIC -DPIC -o .libs/libothers_la-algparam.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c algparam.cpp -o libothers_la-algparam.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-arc4.lo `test -f 'arc4.cpp' || echo './'`arc4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c arc4.cpp -fPIC -DPIC -o .libs/libothers_la-arc4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c arc4.cpp -o libothers_la-arc4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-bfinit.lo `test -f 'bfinit.cpp' || echo './'`bfinit.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c bfinit.cpp -fPIC -DPIC -o .libs/libothers_la-bfinit.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c bfinit.cpp -o libothers_la-bfinit.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-authenc.lo `test -f 'authenc.cpp' || echo './'`authenc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c authenc.cpp -fPIC -DPIC -o .libs/libothers_la-authenc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c authenc.cpp -o libothers_la-authenc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-blowfish.lo `test -f 'blowfish.cpp' || echo './'`blowfish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blowfish.cpp -fPIC -DPIC -o .libs/libothers_la-blowfish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blowfish.cpp -o libothers_la-blowfish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-aria.lo `test -f 'aria.cpp' || echo './'`aria.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c aria.cpp -fPIC -DPIC -o .libs/libothers_la-aria.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c aria.cpp -o libothers_la-aria.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libcryptlib_la-cryptlib.lo `test -f 'cryptlib.cpp' || echo './'`cryptlib.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cryptlib.cpp -fPIC -DPIC -o .libs/libcryptlib_la-cryptlib.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cryptlib.cpp -o libcryptlib_la-cryptlib.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-casts.lo `test -f 'casts.cpp' || echo './'`casts.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c casts.cpp -fPIC -DPIC -o .libs/libothers_la-casts.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c casts.cpp -o libothers_la-casts.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-base32.lo `test -f 'base32.cpp' || echo './'`base32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c base32.cpp -fPIC -DPIC -o .libs/libothers_la-base32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c base32.cpp -o libothers_la-base32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-blumshub.lo `test -f 'blumshub.cpp' || echo './'`blumshub.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blumshub.cpp -fPIC -DPIC -o .libs/libothers_la-blumshub.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blumshub.cpp -o libothers_la-blumshub.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-cbcmac.lo `test -f 'cbcmac.cpp' || echo './'`cbcmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cbcmac.cpp -fPIC -DPIC -o .libs/libothers_la-cbcmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cbcmac.cpp -o libothers_la-cbcmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-camellia.lo `test -f 'camellia.cpp' || echo './'`camellia.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c camellia.cpp -fPIC -DPIC -o .libs/libothers_la-camellia.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c camellia.cpp -o libothers_la-camellia.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-asn.lo `test -f 'asn.cpp' || echo './'`asn.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c asn.cpp -fPIC -DPIC -o .libs/libothers_la-asn.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c asn.cpp -o libothers_la-asn.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-basecode.lo `test -f 'basecode.cpp' || echo './'`basecode.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c basecode.cpp -fPIC -DPIC -o .libs/libothers_la-basecode.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c basecode.cpp -o libothers_la-basecode.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-base64.lo `test -f 'base64.cpp' || echo './'`base64.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c base64.cpp -fPIC -DPIC -o .libs/libothers_la-base64.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c base64.cpp -o libothers_la-base64.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-cast.lo `test -f 'cast.cpp' || echo './'`cast.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cast.cpp -fPIC -DPIC -o .libs/libothers_la-cast.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cast.cpp -o libothers_la-cast.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ccm.lo `test -f 'ccm.cpp' || echo './'`ccm.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ccm.cpp -fPIC -DPIC -o .libs/libothers_la-ccm.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ccm.cpp -o libothers_la-ccm.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-crc.lo `test -f 'crc.cpp' || echo './'`crc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c crc.cpp -fPIC -DPIC -o .libs/libothers_la-crc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c crc.cpp -o libothers_la-crc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-dessp.lo `test -f 'dessp.cpp' || echo './'`dessp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dessp.cpp -fPIC -DPIC -o .libs/libothers_la-dessp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dessp.cpp -o libothers_la-dessp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-dh2.lo `test -f 'dh2.cpp' || echo './'`dh2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dh2.cpp -fPIC -DPIC -o .libs/libothers_la-dh2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dh2.cpp -o libothers_la-dh2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-cmac.lo `test -f 'cmac.cpp' || echo './'`cmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cmac.cpp -fPIC -DPIC -o .libs/libothers_la-cmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c cmac.cpp -o libothers_la-cmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-dh.lo `test -f 'dh.cpp' || echo './'`dh.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dh.cpp -fPIC -DPIC -o .libs/libothers_la-dh.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dh.cpp -o libothers_la-dh.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-channels.lo `test -f 'channels.cpp' || echo './'`channels.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c channels.cpp -fPIC -DPIC -o .libs/libothers_la-channels.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c channels.cpp -o libothers_la-channels.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-des.lo `test -f 'des.cpp' || echo './'`des.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c des.cpp -fPIC -DPIC -o .libs/libothers_la-des.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c des.cpp -o libothers_la-des.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-chacha.lo `test -f 'chacha.cpp' || echo './'`chacha.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c chacha.cpp -fPIC -DPIC -o .libs/libothers_la-chacha.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c chacha.cpp -o libothers_la-chacha.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-blake2.lo `test -f 'blake2.cpp' || echo './'`blake2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blake2.cpp -fPIC -DPIC -o .libs/libothers_la-blake2.o blake2.cpp: In instantiation of 'void CryptoPP::BLAKE2_Base::UncheckedSetKey(const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with W = unsigned int; bool T_64bit = false; CryptoPP::byte = unsigned char]': blake2.cpp:531:16: required from here blake2.cpp:253:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptoPP::BLAKE2_ParameterBlock'; use assignment or value-initialization instead [-Wclass-memaccess] memset(m_block.data(), 0x00, sizeof(ParameterBlock)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from blake2.cpp:10: blake2.h:92:27: note: 'struct CryptoPP::BLAKE2_ParameterBlock' declared here struct CRYPTOPP_NO_VTABLE BLAKE2_ParameterBlock ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ blake2.cpp: In instantiation of 'void CryptoPP::BLAKE2_Base::UncheckedSetKey(const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with W = long unsigned int; bool T_64bit = true; CryptoPP::byte = unsigned char]': blake2.cpp:532:16: required from here blake2.cpp:253:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptoPP::BLAKE2_ParameterBlock'; use assignment or value-initialization instead [-Wclass-memaccess] memset(m_block.data(), 0x00, sizeof(ParameterBlock)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from blake2.cpp:10: blake2.h:57:27: note: 'struct CryptoPP::BLAKE2_ParameterBlock' declared here struct CRYPTOPP_NO_VTABLE BLAKE2_ParameterBlock ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c blake2.cpp -o libothers_la-blake2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-eax.lo `test -f 'eax.cpp' || echo './'`eax.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eax.cpp -fPIC -DPIC -o .libs/libothers_la-eax.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eax.cpp -o libothers_la-eax.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-dsa.lo `test -f 'dsa.cpp' || echo './'`dsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dsa.cpp -fPIC -DPIC -o .libs/libothers_la-dsa.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dsa.cpp -o libothers_la-dsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-elgamal.lo `test -f 'elgamal.cpp' || echo './'`elgamal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c elgamal.cpp -fPIC -DPIC -o .libs/libothers_la-elgamal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c elgamal.cpp -o libothers_la-elgamal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-eprecomp.lo `test -f 'eprecomp.cpp' || echo './'`eprecomp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eprecomp.cpp -fPIC -DPIC -o .libs/libothers_la-eprecomp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eprecomp.cpp -o libothers_la-eprecomp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-eccrypto.lo `test -f 'eccrypto.cpp' || echo './'`eccrypto.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eccrypto.cpp -fPIC -DPIC -o .libs/libothers_la-eccrypto.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c eccrypto.cpp -o libothers_la-eccrypto.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-emsa2.lo `test -f 'emsa2.cpp' || echo './'`emsa2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c emsa2.cpp -fPIC -DPIC -o .libs/libothers_la-emsa2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c emsa2.cpp -o libothers_la-emsa2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-fips140.lo `test -f 'fips140.cpp' || echo './'`fips140.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c fips140.cpp -fPIC -DPIC -o .libs/libothers_la-fips140.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c fips140.cpp -o libothers_la-fips140.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ec2n.lo `test -f 'ec2n.cpp' || echo './'`ec2n.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ec2n.cpp -fPIC -DPIC -o .libs/libothers_la-ec2n.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ec2n.cpp -o libothers_la-ec2n.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gf256.lo `test -f 'gf256.cpp' || echo './'`gf256.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf256.cpp -fPIC -DPIC -o .libs/libothers_la-gf256.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf256.cpp -o libothers_la-gf256.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gf2_32.lo `test -f 'gf2_32.cpp' || echo './'`gf2_32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf2_32.cpp -fPIC -DPIC -o .libs/libothers_la-gf2_32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf2_32.cpp -o libothers_la-gf2_32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-files.lo `test -f 'files.cpp' || echo './'`files.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c files.cpp -fPIC -DPIC -o .libs/libothers_la-files.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c files.cpp -o libothers_la-files.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gcm.lo `test -f 'gcm.cpp' || echo './'`gcm.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gcm.cpp -fPIC -DPIC -o .libs/libothers_la-gcm.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gcm.cpp -o libothers_la-gcm.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gost.lo `test -f 'gost.cpp' || echo './'`gost.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gost.cpp -fPIC -DPIC -o .libs/libothers_la-gost.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gost.cpp -o libothers_la-gost.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libinteger_la-integer.lo `test -f 'integer.cpp' || echo './'`integer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c integer.cpp -fPIC -DPIC -o .libs/libinteger_la-integer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c integer.cpp -o libinteger_la-integer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-hmac.lo `test -f 'hmac.cpp' || echo './'`hmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hmac.cpp -fPIC -DPIC -o .libs/libothers_la-hmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hmac.cpp -o libothers_la-hmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-hrtimer.lo `test -f 'hrtimer.cpp' || echo './'`hrtimer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hrtimer.cpp -fPIC -DPIC -o .libs/libothers_la-hrtimer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hrtimer.cpp -o libothers_la-hrtimer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-hex.lo `test -f 'hex.cpp' || echo './'`hex.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hex.cpp -fPIC -DPIC -o .libs/libothers_la-hex.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c hex.cpp -o libothers_la-hex.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-default.lo `test -f 'default.cpp' || echo './'`default.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c default.cpp -fPIC -DPIC -o .libs/libothers_la-default.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c default.cpp -o libothers_la-default.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-esign.lo `test -f 'esign.cpp' || echo './'`esign.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c esign.cpp -fPIC -DPIC -o .libs/libothers_la-esign.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c esign.cpp -o libothers_la-esign.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gzip.lo `test -f 'gzip.cpp' || echo './'`gzip.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gzip.cpp -fPIC -DPIC -o .libs/libothers_la-gzip.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gzip.cpp -o libothers_la-gzip.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-idea.lo `test -f 'idea.cpp' || echo './'`idea.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c idea.cpp -fPIC -DPIC -o .libs/libothers_la-idea.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c idea.cpp -o libothers_la-idea.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-kalynatab.lo `test -f 'kalynatab.cpp' || echo './'`kalynatab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c kalynatab.cpp -fPIC -DPIC -o .libs/libothers_la-kalynatab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c kalynatab.cpp -o libothers_la-kalynatab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-marss.lo `test -f 'marss.cpp' || echo './'`marss.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c marss.cpp -fPIC -DPIC -o .libs/libothers_la-marss.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c marss.cpp -o libothers_la-marss.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-iterhash.lo `test -f 'iterhash.cpp' || echo './'`iterhash.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c iterhash.cpp -fPIC -DPIC -o .libs/libothers_la-iterhash.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c iterhash.cpp -o libothers_la-iterhash.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ecp.lo `test -f 'ecp.cpp' || echo './'`ecp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ecp.cpp -fPIC -DPIC -o .libs/libothers_la-ecp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ecp.cpp -o libothers_la-ecp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-keccak.lo `test -f 'keccak.cpp' || echo './'`keccak.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c keccak.cpp -fPIC -DPIC -o .libs/libothers_la-keccak.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c keccak.cpp -o libothers_la-keccak.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-mars.lo `test -f 'mars.cpp' || echo './'`mars.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mars.cpp -fPIC -DPIC -o .libs/libothers_la-mars.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mars.cpp -o libothers_la-mars.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-md4.lo `test -f 'md4.cpp' || echo './'`md4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md4.cpp -fPIC -DPIC -o .libs/libothers_la-md4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md4.cpp -o libothers_la-md4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-md2.lo `test -f 'md2.cpp' || echo './'`md2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md2.cpp -fPIC -DPIC -o .libs/libothers_la-md2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md2.cpp -o libothers_la-md2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-md5.lo `test -f 'md5.cpp' || echo './'`md5.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md5.cpp -fPIC -DPIC -o .libs/libothers_la-md5.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c md5.cpp -o libothers_la-md5.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-filters.lo `test -f 'filters.cpp' || echo './'`filters.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c filters.cpp -fPIC -DPIC -o .libs/libothers_la-filters.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c filters.cpp -o libothers_la-filters.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gfpcrypt.lo `test -f 'gfpcrypt.cpp' || echo './'`gfpcrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gfpcrypt.cpp -fPIC -DPIC -o .libs/libothers_la-gfpcrypt.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gfpcrypt.cpp -o libothers_la-gfpcrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-misc.lo `test -f 'misc.cpp' || echo './'`misc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c misc.cpp -fPIC -DPIC -o .libs/libothers_la-misc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c misc.cpp -o libothers_la-misc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-mqv.lo `test -f 'mqv.cpp' || echo './'`mqv.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mqv.cpp -fPIC -DPIC -o .libs/libothers_la-mqv.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mqv.cpp -o libothers_la-mqv.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-kalyna.lo `test -f 'kalyna.cpp' || echo './'`kalyna.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c kalyna.cpp -fPIC -DPIC -o .libs/libothers_la-kalyna.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c kalyna.cpp -o libothers_la-kalyna.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ida.lo `test -f 'ida.cpp' || echo './'`ida.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ida.cpp -fPIC -DPIC -o .libs/libothers_la-ida.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ida.cpp -o libothers_la-ida.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-modes.lo `test -f 'modes.cpp' || echo './'`modes.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c modes.cpp -fPIC -DPIC -o .libs/libothers_la-modes.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c modes.cpp -o libothers_la-modes.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-osrng.lo `test -f 'osrng.cpp' || echo './'`osrng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c osrng.cpp -fPIC -DPIC -o .libs/libothers_la-osrng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c osrng.cpp -o libothers_la-osrng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-padlkrng.lo `test -f 'padlkrng.cpp' || echo './'`padlkrng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c padlkrng.cpp -fPIC -DPIC -o .libs/libothers_la-padlkrng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c padlkrng.cpp -o libothers_la-padlkrng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-oaep.lo `test -f 'oaep.cpp' || echo './'`oaep.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c oaep.cpp -fPIC -DPIC -o .libs/libothers_la-oaep.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c oaep.cpp -o libothers_la-oaep.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-network.lo `test -f 'network.cpp' || echo './'`network.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c network.cpp -fPIC -DPIC -o .libs/libothers_la-network.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c network.cpp -o libothers_la-network.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-luc.lo `test -f 'luc.cpp' || echo './'`luc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c luc.cpp -fPIC -DPIC -o .libs/libothers_la-luc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c luc.cpp -o libothers_la-luc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-gf2n.lo `test -f 'gf2n.cpp' || echo './'`gf2n.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf2n.cpp -fPIC -DPIC -o .libs/libothers_la-gf2n.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c gf2n.cpp -o libothers_la-gf2n.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-pkcspad.lo `test -f 'pkcspad.cpp' || echo './'`pkcspad.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pkcspad.cpp -fPIC -DPIC -o .libs/libothers_la-pkcspad.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pkcspad.cpp -o libothers_la-pkcspad.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-mqueue.lo `test -f 'mqueue.cpp' || echo './'`mqueue.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mqueue.cpp -fPIC -DPIC -o .libs/libothers_la-mqueue.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c mqueue.cpp -o libothers_la-mqueue.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-panama.lo `test -f 'panama.cpp' || echo './'`panama.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c panama.cpp -fPIC -DPIC -o .libs/libothers_la-panama.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c panama.cpp -o libothers_la-panama.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-polynomi.lo `test -f 'polynomi.cpp' || echo './'`polynomi.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c polynomi.cpp -fPIC -DPIC -o .libs/libothers_la-polynomi.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c polynomi.cpp -o libothers_la-polynomi.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rc2.lo `test -f 'rc2.cpp' || echo './'`rc2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc2.cpp -fPIC -DPIC -o .libs/libothers_la-rc2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc2.cpp -o libothers_la-rc2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-queue.lo `test -f 'queue.cpp' || echo './'`queue.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c queue.cpp -fPIC -DPIC -o .libs/libothers_la-queue.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c queue.cpp -o libothers_la-queue.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rdtables.lo `test -f 'rdtables.cpp' || echo './'`rdtables.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rdtables.cpp -fPIC -DPIC -o .libs/libothers_la-rdtables.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rdtables.cpp -o libothers_la-rdtables.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rc5.lo `test -f 'rc5.cpp' || echo './'`rc5.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc5.cpp -fPIC -DPIC -o .libs/libothers_la-rc5.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc5.cpp -o libothers_la-rc5.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-pssr.lo `test -f 'pssr.cpp' || echo './'`pssr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pssr.cpp -fPIC -DPIC -o .libs/libothers_la-pssr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pssr.cpp -o libothers_la-pssr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-nbtheory.lo `test -f 'nbtheory.cpp' || echo './'`nbtheory.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c nbtheory.cpp -fPIC -DPIC -o .libs/libothers_la-nbtheory.o nbtheory.cpp:650: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #pragma omp parallel nbtheory.cpp:651: warning: ignoring #pragma omp sections [-Wunknown-pragmas] #pragma omp sections nbtheory.cpp:653: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section nbtheory.cpp:655: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section nbtheory.cpp:1002: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #pragma omp parallel nbtheory.cpp:1003: warning: ignoring #pragma omp sections [-Wunknown-pragmas] #pragma omp sections nbtheory.cpp:1005: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section nbtheory.cpp:1010: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c nbtheory.cpp -o libothers_la-nbtheory.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rc6.lo `test -f 'rc6.cpp' || echo './'`rc6.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc6.cpp -fPIC -DPIC -o .libs/libothers_la-rc6.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rc6.cpp -o libothers_la-rc6.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rdrand.lo `test -f 'rdrand.cpp' || echo './'`rdrand.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rdrand.cpp -fPIC -DPIC -o .libs/libothers_la-rdrand.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rdrand.cpp -o libothers_la-rdrand.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-poly1305.lo `test -f 'poly1305.cpp' || echo './'`poly1305.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c poly1305.cpp -fPIC -DPIC -o .libs/libothers_la-poly1305.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c poly1305.cpp -o libothers_la-poly1305.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-pubkey.lo `test -f 'pubkey.cpp' || echo './'`pubkey.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pubkey.cpp -fPIC -DPIC -o .libs/libothers_la-pubkey.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c pubkey.cpp -o libothers_la-pubkey.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rijndael.lo `test -f 'rijndael.cpp' || echo './'`rijndael.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rijndael.cpp -fPIC -DPIC -o .libs/libothers_la-rijndael.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rijndael.cpp -o libothers_la-rijndael.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ripemd.lo `test -f 'ripemd.cpp' || echo './'`ripemd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ripemd.cpp -fPIC -DPIC -o .libs/libothers_la-ripemd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ripemd.cpp -o libothers_la-ripemd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-randpool.lo `test -f 'randpool.cpp' || echo './'`randpool.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c randpool.cpp -fPIC -DPIC -o .libs/libothers_la-randpool.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c randpool.cpp -o libothers_la-randpool.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-safer.lo `test -f 'safer.cpp' || echo './'`safer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c safer.cpp -fPIC -DPIC -o .libs/libothers_la-safer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c safer.cpp -o libothers_la-safer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rabin.lo `test -f 'rabin.cpp' || echo './'`rabin.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rabin.cpp -fPIC -DPIC -o .libs/libothers_la-rabin.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rabin.cpp -o libothers_la-rabin.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rng.lo `test -f 'rng.cpp' || echo './'`rng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rng.cpp -fPIC -DPIC -o .libs/libothers_la-rng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rng.cpp -o libothers_la-rng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-serpent.lo `test -f 'serpent.cpp' || echo './'`serpent.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c serpent.cpp -fPIC -DPIC -o .libs/libothers_la-serpent.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c serpent.cpp -o libothers_la-serpent.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-salsa.lo `test -f 'salsa.cpp' || echo './'`salsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c salsa.cpp -fPIC -DPIC -o .libs/libothers_la-salsa.o salsa.cpp:93: warning: ignoring #pragma omp simd [-Wunknown-pragmas] #pragma omp simd libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c salsa.cpp -o libothers_la-salsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-seal.lo `test -f 'seal.cpp' || echo './'`seal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c seal.cpp -fPIC -DPIC -o .libs/libothers_la-seal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c seal.cpp -o libothers_la-seal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-seed.lo `test -f 'seed.cpp' || echo './'`seed.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c seed.cpp -fPIC -DPIC -o .libs/libothers_la-seed.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c seed.cpp -o libothers_la-seed.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-shacal2.lo `test -f 'shacal2.cpp' || echo './'`shacal2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shacal2.cpp -fPIC -DPIC -o .libs/libothers_la-shacal2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shacal2.cpp -o libothers_la-shacal2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sha3.lo `test -f 'sha3.cpp' || echo './'`sha3.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha3.cpp -fPIC -DPIC -o .libs/libothers_la-sha3.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha3.cpp -o libothers_la-sha3.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-scrypt.lo `test -f 'scrypt.cpp' || echo './'`scrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c scrypt.cpp -fPIC -DPIC -o .libs/libothers_la-scrypt.o scrypt.cpp:56: warning: ignoring #pragma omp simd [-Wunknown-pragmas] #pragma omp simd scrypt.cpp:249: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #pragma omp parallel scrypt.cpp:256: warning: ignoring #pragma omp for [-Wunknown-pragmas] #pragma omp for libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c scrypt.cpp -o libothers_la-scrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sharkbox.lo `test -f 'sharkbox.cpp' || echo './'`sharkbox.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sharkbox.cpp -fPIC -DPIC -o .libs/libothers_la-sharkbox.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sharkbox.cpp -o libothers_la-sharkbox.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sha.lo `test -f 'sha.cpp' || echo './'`sha.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha.cpp -fPIC -DPIC -o .libs/libothers_la-sha.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sha.cpp -o libothers_la-sha.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-skipjack.lo `test -f 'skipjack.cpp' || echo './'`skipjack.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c skipjack.cpp -fPIC -DPIC -o .libs/libothers_la-skipjack.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c skipjack.cpp -o libothers_la-skipjack.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sosemanuk.lo `test -f 'sosemanuk.cpp' || echo './'`sosemanuk.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sosemanuk.cpp -fPIC -DPIC -o .libs/libothers_la-sosemanuk.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sosemanuk.cpp -o libothers_la-sosemanuk.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-simon.lo `test -f 'simon.cpp' || echo './'`simon.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c simon.cpp -fPIC -DPIC -o .libs/libothers_la-simon.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c simon.cpp -o libothers_la-simon.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-squaretb.lo `test -f 'squaretb.cpp' || echo './'`squaretb.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c squaretb.cpp -fPIC -DPIC -o .libs/libothers_la-squaretb.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c squaretb.cpp -o libothers_la-squaretb.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-shark.lo `test -f 'shark.cpp' || echo './'`shark.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shark.cpp -fPIC -DPIC -o .libs/libothers_la-shark.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c shark.cpp -o libothers_la-shark.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-socketft.lo `test -f 'socketft.cpp' || echo './'`socketft.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c socketft.cpp -fPIC -DPIC -o .libs/libothers_la-socketft.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c socketft.cpp -o libothers_la-socketft.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-strciphr.lo `test -f 'strciphr.cpp' || echo './'`strciphr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c strciphr.cpp -fPIC -DPIC -o .libs/libothers_la-strciphr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c strciphr.cpp -o libothers_la-strciphr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-tea.lo `test -f 'tea.cpp' || echo './'`tea.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tea.cpp -fPIC -DPIC -o .libs/libothers_la-tea.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tea.cpp -o libothers_la-tea.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sm3.lo `test -f 'sm3.cpp' || echo './'`sm3.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sm3.cpp -fPIC -DPIC -o .libs/libothers_la-sm3.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sm3.cpp -o libothers_la-sm3.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rw.lo `test -f 'rw.cpp' || echo './'`rw.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rw.cpp -fPIC -DPIC -o .libs/libothers_la-rw.o rw.cpp:129: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) rw.cpp:131: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section rw.cpp:133: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section rw.cpp:135: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section rw.cpp:227: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) rw.cpp:229: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section rw.cpp:233: warning: ignoring #pragma omp section [-Wunknown-pragmas] #pragma omp section libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rw.cpp -o libothers_la-rw.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-fipstest.lo `test -f 'fipstest.cpp' || echo './'`fipstest.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c fipstest.cpp -fPIC -DPIC -o .libs/libothers_la-fipstest.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c fipstest.cpp -o libothers_la-fipstest.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-square.lo `test -f 'square.cpp' || echo './'`square.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c square.cpp -fPIC -DPIC -o .libs/libothers_la-square.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c square.cpp -o libothers_la-square.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-speck.lo `test -f 'speck.cpp' || echo './'`speck.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c speck.cpp -fPIC -DPIC -o .libs/libothers_la-speck.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c speck.cpp -o libothers_la-speck.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-sm4.lo `test -f 'sm4.cpp' || echo './'`sm4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sm4.cpp -fPIC -DPIC -o .libs/libothers_la-sm4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c sm4.cpp -o libothers_la-sm4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-tigertab.lo `test -f 'tigertab.cpp' || echo './'`tigertab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tigertab.cpp -fPIC -DPIC -o .libs/libothers_la-tigertab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tigertab.cpp -o libothers_la-tigertab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-tftables.lo `test -f 'tftables.cpp' || echo './'`tftables.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tftables.cpp -fPIC -DPIC -o .libs/libothers_la-tftables.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tftables.cpp -o libothers_la-tftables.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-rsa.lo `test -f 'rsa.cpp' || echo './'`rsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rsa.cpp -fPIC -DPIC -o .libs/libothers_la-rsa.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c rsa.cpp -o libothers_la-rsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-tiger.lo `test -f 'tiger.cpp' || echo './'`tiger.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tiger.cpp -fPIC -DPIC -o .libs/libothers_la-tiger.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tiger.cpp -o libothers_la-tiger.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-trdlocal.lo `test -f 'trdlocal.cpp' || echo './'`trdlocal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c trdlocal.cpp -fPIC -DPIC -o .libs/libothers_la-trdlocal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c trdlocal.cpp -o libothers_la-trdlocal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-wake.lo `test -f 'wake.cpp' || echo './'`wake.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c wake.cpp -fPIC -DPIC -o .libs/libothers_la-wake.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c wake.cpp -o libothers_la-wake.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-twofish.lo `test -f 'twofish.cpp' || echo './'`twofish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c twofish.cpp -fPIC -DPIC -o .libs/libothers_la-twofish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c twofish.cpp -o libothers_la-twofish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-whrlpool.lo `test -f 'whrlpool.cpp' || echo './'`whrlpool.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c whrlpool.cpp -fPIC -DPIC -o .libs/libothers_la-whrlpool.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c whrlpool.cpp -o libothers_la-whrlpool.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-wait.lo `test -f 'wait.cpp' || echo './'`wait.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c wait.cpp -fPIC -DPIC -o .libs/libothers_la-wait.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c wait.cpp -o libothers_la-wait.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-ttmac.lo `test -f 'ttmac.cpp' || echo './'`ttmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ttmac.cpp -fPIC -DPIC -o .libs/libothers_la-ttmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c ttmac.cpp -o libothers_la-ttmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-vmac.lo `test -f 'vmac.cpp' || echo './'`vmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c vmac.cpp -fPIC -DPIC -o .libs/libothers_la-vmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c vmac.cpp -o libothers_la-vmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-tweetnacl.lo `test -f 'tweetnacl.cpp' || echo './'`tweetnacl.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tweetnacl.cpp -fPIC -DPIC -o .libs/libothers_la-tweetnacl.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c tweetnacl.cpp -o libothers_la-tweetnacl.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-zlib.lo `test -f 'zlib.cpp' || echo './'`zlib.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zlib.cpp -fPIC -DPIC -o .libs/libothers_la-zlib.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zlib.cpp -o libothers_la-zlib.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-zinflate.lo `test -f 'zinflate.cpp' || echo './'`zinflate.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zinflate.cpp -fPIC -DPIC -o .libs/libothers_la-zinflate.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zinflate.cpp -o libothers_la-zinflate.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-xtrcrypt.lo `test -f 'xtrcrypt.cpp' || echo './'`xtrcrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c xtrcrypt.cpp -fPIC -DPIC -o .libs/libothers_la-xtrcrypt.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c xtrcrypt.cpp -o libothers_la-xtrcrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-zdeflate.lo `test -f 'zdeflate.cpp' || echo './'`zdeflate.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zdeflate.cpp -fPIC -DPIC -o .libs/libothers_la-zdeflate.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c zdeflate.cpp -o libothers_la-zdeflate.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-xtr.lo `test -f 'xtr.cpp' || echo './'`xtr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c xtr.cpp -fPIC -DPIC -o .libs/libothers_la-xtr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c xtr.cpp -o libothers_la-xtr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-threefish.lo `test -f 'threefish.cpp' || echo './'`threefish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c threefish.cpp -fPIC -DPIC -o .libs/libothers_la-threefish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c threefish.cpp -o libothers_la-threefish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libothers_la-dll.lo `test -f 'dll.cpp' || echo './'`dll.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dll.cpp -fPIC -DPIC -o .libs/libothers_la-dll.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -c dll.cpp -o libothers_la-dll.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -pthread -Wl,--gc-sections -Wl,--exclude-libs,ALL -Wl,--as-needed -version-info 6:0:0 -o libcryptopp.la libcryptopp_la-adhoc.lo libcryptlib_la-cryptlib.lo libcpu_la-cpu.lo libinteger_la-integer.lo libaria_simd_la-aria-simd.lo libblake2_simd_la-blake2-simd.lo libcrc_simd_la-crc-simd.lo libgcm_simd_la-gcm-simd.lo libneon_simd_la-neon-simd.lo libppc_simd_la-ppc-simd.lo librijndael_simd_la-rijndael-simd.lo libsha_simd_la-sha-simd.lo libshacal2_simd_la-shacal2-simd.lo libsimon_simd_la-simon-simd.lo libspeck_simd_la-speck-simd.lo libsse_simd_la-sse-simd.lo libothers_la-3way.lo libothers_la-adler32.lo libothers_la-algebra.lo libothers_la-algparam.lo libothers_la-arc4.lo libothers_la-aria.lo libothers_la-ariatab.lo libothers_la-asn.lo libothers_la-authenc.lo libothers_la-base32.lo libothers_la-base64.lo libothers_la-basecode.lo libothers_la-bfinit.lo libothers_la-blake2.lo libothers_la-blowfish.lo libothers_la-blumshub.lo libothers_la-camellia.lo libothers_la-cast.lo libothers_la-casts.lo libothers_la-cbcmac.lo libothers_la-ccm.lo libothers_la-chacha.lo libothers_la-channels.lo libothers_la-cmac.lo libothers_la-crc.lo libothers_la-default.lo libothers_la-des.lo libothers_la-dessp.lo libothers_la-dh.lo libothers_la-dh2.lo libothers_la-dll.lo libothers_la-dsa.lo libothers_la-eax.lo libothers_la-ec2n.lo libothers_la-eccrypto.lo libothers_la-ecp.lo libothers_la-elgamal.lo libothers_la-emsa2.lo libothers_la-eprecomp.lo libothers_la-esign.lo libothers_la-files.lo libothers_la-filters.lo libothers_la-fips140.lo libothers_la-fipstest.lo libothers_la-gcm.lo libothers_la-gf256.lo libothers_la-gf2_32.lo libothers_la-gf2n.lo libothers_la-gfpcrypt.lo libothers_la-gost.lo libothers_la-gzip.lo libothers_la-hex.lo libothers_la-hmac.lo libothers_la-hrtimer.lo libothers_la-ida.lo libothers_la-idea.lo libothers_la-iterhash.lo libothers_la-kalyna.lo libothers_la-kalynatab.lo libothers_la-keccak.lo libothers_la-luc.lo libothers_la-mars.lo libothers_la-marss.lo libothers_la-md2.lo libothers_la-md4.lo libothers_la-md5.lo libothers_la-misc.lo libothers_la-modes.lo libothers_la-mqueue.lo libothers_la-mqv.lo libothers_la-nbtheory.lo libothers_la-network.lo libothers_la-oaep.lo libothers_la-osrng.lo libothers_la-padlkrng.lo libothers_la-panama.lo libothers_la-pkcspad.lo libothers_la-poly1305.lo libothers_la-polynomi.lo libothers_la-pssr.lo libothers_la-pubkey.lo libothers_la-queue.lo libothers_la-rabin.lo libothers_la-randpool.lo libothers_la-rc2.lo libothers_la-rc5.lo libothers_la-rc6.lo libothers_la-rdrand.lo libothers_la-rdtables.lo libothers_la-rijndael.lo libothers_la-ripemd.lo libothers_la-rng.lo libothers_la-rsa.lo libothers_la-rw.lo libothers_la-safer.lo libothers_la-salsa.lo libothers_la-scrypt.lo libothers_la-seal.lo libothers_la-seed.lo libothers_la-serpent.lo libothers_la-sha.lo libothers_la-sha3.lo libothers_la-shacal2.lo libothers_la-shark.lo libothers_la-sharkbox.lo libothers_la-simon.lo libothers_la-skipjack.lo libothers_la-sm3.lo libothers_la-sm4.lo libothers_la-socketft.lo libothers_la-sosemanuk.lo libothers_la-speck.lo libothers_la-square.lo libothers_la-squaretb.lo libothers_la-strciphr.lo libothers_la-tea.lo libothers_la-tftables.lo libothers_la-threefish.lo libothers_la-tiger.lo libothers_la-tigertab.lo libothers_la-trdlocal.lo libothers_la-ttmac.lo libothers_la-tweetnacl.lo libothers_la-twofish.lo libothers_la-vmac.lo libothers_la-wait.lo libothers_la-wake.lo libothers_la-whrlpool.lo libothers_la-xtr.lo libothers_la-xtrcrypt.lo libothers_la-zdeflate.lo libothers_la-zinflate.lo libothers_la-zlib.lo libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cr .libs/libcryptopp.a .libs/libcryptopp_la-adhoc.o .libs/libcryptlib_la-cryptlib.o .libs/libcpu_la-cpu.o .libs/libinteger_la-integer.o .libs/libaria_simd_la-aria-simd.o .libs/libblake2_simd_la-blake2-simd.o .libs/libcrc_simd_la-crc-simd.o .libs/libgcm_simd_la-gcm-simd.o .libs/libneon_simd_la-neon-simd.o .libs/libppc_simd_la-ppc-simd.o .libs/librijndael_simd_la-rijndael-simd.o .libs/libsha_simd_la-sha-simd.o .libs/libshacal2_simd_la-shacal2-simd.o .libs/libsimon_simd_la-simon-simd.o .libs/libspeck_simd_la-speck-simd.o .libs/libsse_simd_la-sse-simd.o .libs/libothers_la-3way.o .libs/libothers_la-adler32.o .libs/libothers_la-algebra.o .libs/libothers_la-algparam.o .libs/libothers_la-arc4.o .libs/libothers_la-aria.o .libs/libothers_la-ariatab.o .libs/libothers_la-asn.o .libs/libothers_la-authenc.o .libs/libothers_la-base32.o .libs/libothers_la-base64.o .libs/libothers_la-basecode.o .libs/libothers_la-bfinit.o .libs/libothers_la-blake2.o .libs/libothers_la-blowfish.o .libs/libothers_la-blumshub.o .libs/libothers_la-camellia.o .libs/libothers_la-cast.o .libs/libothers_la-casts.o .libs/libothers_la-cbcmac.o .libs/libothers_la-ccm.o .libs/libothers_la-chacha.o .libs/libothers_la-channels.o .libs/libothers_la-cmac.o .libs/libothers_la-crc.o .libs/libothers_la-default.o .libs/libothers_la-des.o .libs/libothers_la-dessp.o .libs/libothers_la-dh.o .libs/libothers_la-dh2.o .libs/libothers_la-dll.o .libs/libothers_la-dsa.o .libs/libothers_la-eax.o .libs/libothers_la-ec2n.o .libs/libothers_la-eccrypto.o .libs/libothers_la-ecp.o .libs/libothers_la-elgamal.o .libs/libothers_la-emsa2.o .libs/libothers_la-eprecomp.o .libs/libothers_la-esign.o .libs/libothers_la-files.o .libs/libothers_la-filters.o .libs/libothers_la-fips140.o .libs/libothers_la-fipstest.o .libs/libothers_la-gcm.o .libs/libothers_la-gf256.o .libs/libothers_la-gf2_32.o .libs/libothers_la-gf2n.o .libs/libothers_la-gfpcrypt.o .libs/libothers_la-gost.o .libs/libothers_la-gzip.o .libs/libothers_la-hex.o .libs/libothers_la-hmac.o .libs/libothers_la-hrtimer.o .libs/libothers_la-ida.o .libs/libothers_la-idea.o .libs/libothers_la-iterhash.o .libs/libothers_la-kalyna.o .libs/libothers_la-kalynatab.o .libs/libothers_la-keccak.o .libs/libothers_la-luc.o .libs/libothers_la-mars.o .libs/libothers_la-marss.o .libs/libothers_la-md2.o .libs/libothers_la-md4.o .libs/libothers_la-md5.o .libs/libothers_la-misc.o .libs/libothers_la-modes.o .libs/libothers_la-mqueue.o .libs/libothers_la-mqv.o .libs/libothers_la-nbtheory.o .libs/libothers_la-network.o .libs/libothers_la-oaep.o .libs/libothers_la-osrng.o .libs/libothers_la-padlkrng.o .libs/libothers_la-panama.o .libs/libothers_la-pkcspad.o .libs/libothers_la-poly1305.o .libs/libothers_la-polynomi.o .libs/libothers_la-pssr.o .libs/libothers_la-pubkey.o .libs/libothers_la-queue.o .libs/libothers_la-rabin.o .libs/libothers_la-randpool.o .libs/libothers_la-rc2.o .libs/libothers_la-rc5.o .libs/libothers_la-rc6.o .libs/libothers_la-rdrand.o .libs/libothers_la-rdtables.o .libs/libothers_la-rijndael.o .libs/libothers_la-ripemd.o .libs/libothers_la-rng.o .libs/libothers_la-rsa.o .libs/libothers_la-rw.o .libs/libothers_la-safer.o .libs/libothers_la-salsa.o .libs/libothers_la-scrypt.o .libs/libothers_la-seal.o .libs/libothers_la-seed.o .libs/libothers_la-serpent.o .libs/libothers_la-sha.o .libs/libothers_la-sha3.o .libs/libothers_la-shacal2.o .libs/libothers_la-shark.o .libs/libothers_la-sharkbox.o .libs/libothers_la-simon.o .libs/libothers_la-skipjack.o .libs/libothers_la-sm3.o .libs/libothers_la-sm4.o .libs/libothers_la-socketft.o .libs/libothers_la-sosemanuk.o .libs/libothers_la-speck.o .libs/libothers_la-square.o .libs/libothers_la-squaretb.o .libs/libothers_la-strciphr.o .libs/libothers_la-tea.o .libs/libothers_la-tftables.o .libs/libothers_la-threefish.o .libs/libothers_la-tiger.o .libs/libothers_la-tigertab.o .libs/libothers_la-trdlocal.o .libs/libothers_la-ttmac.o .libs/libothers_la-tweetnacl.o .libs/libothers_la-twofish.o .libs/libothers_la-vmac.o .libs/libothers_la-wait.o .libs/libothers_la-wake.o .libs/libothers_la-whrlpool.o .libs/libothers_la-xtr.o .libs/libothers_la-xtrcrypt.o .libs/libothers_la-zdeflate.o .libs/libothers_la-zinflate.o .libs/libothers_la-zlib.o libtool: link: ranlib .libs/libcryptopp.a libtool: link: ( cd ".libs" && rm -f "libcryptopp.la" && ln -s "../libcryptopp.la" "libcryptopp.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-StreamPipe.o `test -f 'StreamPipe.cpp' || echo './'`StreamPipe.cpp In file included from StreamPipe.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from StreamPipe.h:4, from StreamPipe.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-SelectThread.o `test -f 'SelectThread.cpp' || echo './'`SelectThread.cpp In file included from SelectThread.cpp:27: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from Client.h:1, from SelectThread.cpp:25: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-AcceptThread.o `test -f 'AcceptThread.cpp' || echo './'`AcceptThread.cpp In file included from AcceptThread.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h: In constructor 'CAcceptThread::CAcceptThread(unsigned int, short unsigned int)': AcceptThread.h:31:7: warning: 'CAcceptThread::error' will be initialized after [-Wreorder] bool error; ^~~~~ AcceptThread.h:29:9: warning: 'int CAcceptThread::s_v6' [-Wreorder] SOCKET s_v6; ^~~~ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) ^~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h:29:9: warning: 'CAcceptThread::s_v6' will be initialized after [-Wreorder] SOCKET s_v6; ^~~~ AcceptThread.h:28:9: warning: 'int CAcceptThread::s' [-Wreorder] SOCKET s; ^ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) ^~~~~~~~~~~~~ AcceptThread.cpp: In destructor 'CAcceptThread::~CAcceptThread()': AcceptThread.cpp:143: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Client.o `test -f 'Client.cpp' || echo './'`Client.cpp In file included from Client.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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.h:1, from Client.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-ServerLinux.o `test -f 'ServerLinux.cpp' || echo './'`ServerLinux.cpp In file included from ServerLinux.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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 LookupService.h:2, from Server.h:15, from ServerLinux.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-SessionMgr.o `test -f 'SessionMgr.cpp' || echo './'`SessionMgr.cpp In file included from SessionMgr.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from SessionMgr.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-ServiceWorker.o `test -f 'ServiceWorker.cpp' || echo './'`ServiceWorker.cpp In file included from ServiceWorker.cpp:23: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from ServiceWorker.h:9, from ServiceWorker.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Mutex_lin.o `test -f 'Mutex_lin.cpp' || echo './'`Mutex_lin.cpp In file included from Mutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Mutex_lin.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-ServiceAcceptor.o `test -f 'ServiceAcceptor.cpp' || echo './'`ServiceAcceptor.cpp In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:23: ServiceAcceptor.h: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::__cxx11::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.h:42:6: warning: 'CServiceAcceptor::maxClientsPerThread' will be initialized after [-Wreorder] int maxClientsPerThread; ^~~~~~~~~~~~~~~~~~~ ServiceAcceptor.h:27:9: warning: 'int CServiceAcceptor::s' [-Wreorder] SOCKET s; ^ ServiceAcceptor.cpp:56:1: warning: when initialized here [-Wreorder] CServiceAcceptor::CServiceAcceptor(IService * pService, std::string pName, unsigned short port, int pMaxClientsPerThread, IServer::BindTarget bindTarget) ^~~~~~~~~~~~~~~~ ServiceAcceptor.cpp:68:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:150: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:65: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:120: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:49: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:50: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:51: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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Query.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-file_common.o `test -f 'file_common.cpp' || echo './'`file_common.cpp In file included from file_common.cpp:19: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from file_common.cpp:19: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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 LookupService.h:2, from Server.h:15, from Template.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-OutputStream.o `test -f 'OutputStream.cpp' || echo './'`OutputStream.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-LookupService.o `test -f 'LookupService.cpp' || echo './'`LookupService.cpp In file included from LookupService.cpp:19: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-LoadbalancerClient.o `test -f 'LoadbalancerClient.cpp' || echo './'`LoadbalancerClient.cpp In file included from LoadbalancerClient.cpp:21: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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; ^~ In file included from LoadbalancerClient.cpp:19: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-file_linux.o `test -f 'file_linux.cpp' || echo './'`file_linux.cpp In file included from file_linux.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from file_linux.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-mt19937ar.o `test -f 'mt19937ar.cpp' || echo './'`mt19937ar.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from main.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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:482:7: warning: unused variable 'rc' [-Wunused-variable] int rc=getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); ^~ main.cpp:512:7: warning: unused variable 'rc' [-Wunused-variable] int rc = getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); ^~ main.cpp:627: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:632: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:405:8: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result] dup(i); ~~~^~~ main.cpp:406: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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from main.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-WorkerThread.o `test -f 'WorkerThread.cpp' || echo './'`WorkerThread.cpp In file included from WorkerThread.cpp:24: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from Client.h:1, from WorkerThread.cpp:23: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-StaticPluginRegistration.o `test -f 'StaticPluginRegistration.cpp' || echo './'`StaticPluginRegistration.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Table.o `test -f 'Table.cpp' || echo './'`Table.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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:18, 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 LookupService.h:2, from Server.h:15, from FileSettingsReader.cpp:21: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Condition_lin.o `test -f 'Condition_lin.cpp' || echo './'`Condition_lin.cpp In file included from Condition_lin.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Condition_lin.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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 LookupService.h:2, from Server.h:15, from DBSettingsReader.cpp:24: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-LRUMemCache.o `test -f 'fsimageplugin/LRUMemCache.cpp' || echo './'`fsimageplugin/LRUMemCache.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Database.o `test -f 'Database.cpp' || echo './'`Database.cpp In file included from Database.cpp:26: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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:18, 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:18, 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:18, 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:223: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:236: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:449: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:455: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:463: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) ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Database.cpp:26: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:49: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:50: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:51: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; ^~~~~~~~ DatabaseCursor.cpp: In constructor 'DatabaseCursor::DatabaseCursor(CQuery*, int*)': DatabaseCursor.cpp:28:1: warning: 'DatabaseCursor::db' is initialized with itself [-Winit-self] DatabaseCursor::DatabaseCursor(CQuery *query, int *timeoutms) ^~~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from DatabaseCursor.cpp:26: socket_header.h: At global scope: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-MemorySettingsReader.o `test -f 'MemorySettingsReader.cpp' || echo './'`MemorySettingsReader.cpp In file included from MemorySettingsReader.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from MemorySettingsReader.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-MemoryPipe.o `test -f 'MemoryPipe.cpp' || echo './'`MemoryPipe.cpp In file included from MemoryPipe.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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 LookupService.h:2, from Server.h:15, from MemoryPipe.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-escape.o `test -f 'urbackupcommon/escape.cpp' || echo './'`urbackupcommon/escape.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-SharedMutex_lin.o `test -f 'SharedMutex_lin.cpp' || echo './'`SharedMutex_lin.cpp In file included from SharedMutex_lin.cpp:20: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 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:49: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:50: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:51: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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from SharedMutex_lin.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-glob.o `test -f 'urbackupcommon/glob.cpp' || echo './'`urbackupcommon/glob.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-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:48: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:49: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:50: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:51: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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from PipeThrottler.cpp:20: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-InternetServicePipe.o `test -f 'urbackupcommon/InternetServicePipe.cpp' || echo './'`urbackupcommon/InternetServicePipe.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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:128: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:129: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-ThreadPool.o `test -f 'ThreadPool.cpp' || echo './'`ThreadPool.cpp In file included from ThreadPool.cpp:22: Server.h:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr single_user_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from ThreadPool.cpp:22: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ ThreadPool.cpp: In member function 'virtual bool CThreadPool::waitFor(std::vector, int)': ThreadPool.cpp:287:14: warning: 'starttime' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ctime - starttime>=timems) ~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-CompressedPipeZstd.o `test -f 'urbackupcommon/CompressedPipeZstd.cpp' || echo './'`urbackupcommon/CompressedPipeZstd.cpp In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipe2.h: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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: 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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:78: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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:79: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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h: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/CompressedPipeZstd.cpp:31: 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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: 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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: 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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: 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/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h: In constructor 'CompressedPipeZstd::CompressedPipeZstd(IPipe*, int, int)': urbackupcommon/CompressedPipeZstd.h:72:7: warning: 'CompressedPipeZstd::has_error' will be initialized after [-Wreorder] bool has_error; ^~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:66:8: warning: 'int64 CompressedPipeZstd::uncompressed_sent_bytes' [-Wreorder] int64 uncompressed_sent_bytes; ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:68:8: warning: 'CompressedPipeZstd::sent_flushes' will be initialized after [-Wreorder] int64 sent_flushes; ^~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:64:9: warning: 'size_t CompressedPipeZstd::input_buffer_size' [-Wreorder] size_t input_buffer_size; ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:79:24: warning: 'CompressedPipeZstd::write_mutex' will be initialized after [-Wreorder] std::auto_ptr write_mutex; ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:69:8: warning: 'int64 CompressedPipeZstd::last_send_time' [-Wreorder] int64 last_send_time; ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp: In member function 'size_t CompressedPipeZstd::ProcessToBuffer(char*, size_t, bool)': urbackupcommon/CompressedPipeZstd.cpp:171:7: warning: variable 'set_out' set but not used [-Wunused-but-set-variable] bool set_out=false; ^~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-shutdown.o `test -f 'urbackupserver/serverinterface/shutdown.cpp' || echo './'`urbackupserver/serverinterface/shutdown.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-settingslist.o `test -f 'urbackupcommon/settingslist.cpp' || echo './'`urbackupcommon/settingslist.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ChunkPatcher.o `test -f 'urbackupserver/ChunkPatcher.cpp' || echo './'`urbackupserver/ChunkPatcher.cpp In file included from urbackupserver/ChunkPatcher.h:4, from urbackupserver/ChunkPatcher.cpp:19: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/ChunkPatcher.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ChunkPatcher.cpp:22: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/ExtentIterator.h:3, from urbackupserver/ChunkPatcher.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ChunkPatcher.cpp: In member function 'void ChunkPatcher::nextChunkPatcherBytes(int64, const char*, size_t, bool, bool)': urbackupserver/ChunkPatcher.cpp:512:33: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int64' {aka 'long long int'} [-Wsign-compare] if (pos + bsize_to_checkpoint == next_checkpoint) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ChunkPatcher.cpp:20: urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/ChunkPatcher.h:4, from urbackupserver/ChunkPatcher.cpp:19: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-snapshot_helper.o `test -f 'urbackupserver/snapshot_helper.cpp' || echo './'`urbackupserver/snapshot_helper.cpp In file included from urbackupserver/snapshot_helper.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/snapshot_helper.cpp:23: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) ~~~^~~~~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/snapshot_helper.cpp:22: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-filedownload.o `test -f 'urbackupserver/filedownload.cpp' || echo './'`urbackupserver/filedownload.cpp In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/filedownload.cpp:21: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/filedownload.cpp:23: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/filedownload.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/filedownload.h:1, from urbackupserver/filedownload.cpp:29: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/filedownload.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_chunked; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/filedownload.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/filedownload.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:31: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h: In constructor 'FileDownload::FileDownload(std::__cxx11::string, unsigned int)': urbackupserver/filedownload.h:65:35: warning: 'FileDownload::fc_chunked' will be initialized after [-Wreorder] std::auto_ptr fc_chunked; ^~~~~~~~~~ urbackupserver/filedownload.h:59:14: warning: 'std::__cxx11::string FileDownload::m_servername' [-Wreorder] std::string m_servername; ^~~~~~~~~~~~ urbackupserver/filedownload.cpp:422:1: warning: when initialized here [-Wreorder] FileDownload::FileDownload( std::string servername, unsigned int tcpport ) ^~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/filedownload.cpp:23: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/filedownload.cpp:21: urbackupserver/../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) ^~~~~~~~~~~~ urbackupserver/filedownload.cpp: In member function 'void FileDownload::filedownload(std::__cxx11::string, std::__cxx11::string, int, int, SQueueStatus)': urbackupserver/filedownload.cpp:278:53: warning: 'patchfile' may be used uninitialized in this function [-Wmaybe-uninitialized] Server->Log("Patchfile: "+patchfile->getFilename(), LL_ERROR); ~~~~~~~~~~~~~~~~~~~~~~^~ urbackupserver/filedownload.cpp:262:19: warning: 'hashfile_output' may be used uninitialized in this function [-Wmaybe-uninitialized] cleanup_tmpfile(hashfile_output); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ urbackupserver/filedownload.cpp:261:19: warning: 'hashfile' may be used uninitialized in this function [-Wmaybe-uninitialized] cleanup_tmpfile(hashfile); ~~~~~~~~~~~~~~~^~~~~~~~~~ urbackupserver/filedownload.cpp:266:19: warning: 'dstfile' may be used uninitialized in this function [-Wmaybe-uninitialized] Server->destroy(dstfile); ~~~~~~~~~~~~~~~^~~~~~~~~ urbackupserver/filedownload.cpp:161:33: warning: 'hashfile_output' may be used uninitialized in this function [-Wmaybe-uninitialized] rc=fc_chunked->GetFileChunked(remotefn, dstfile, hashfile, hashfile_output, remote_filesize, 0, false, NULL); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/filedownload.cpp:161:33: warning: 'hashfile' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-FileIndex.o `test -f 'urbackupserver/FileIndex.cpp' || echo './'`urbackupserver/FileIndex.cpp In file included from urbackupserver/FileIndex.h:9, from urbackupserver/FileIndex.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-start_backup.o `test -f 'urbackupserver/serverinterface/start_backup.cpp' || echo './'`urbackupserver/serverinterface/start_backup.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/start_backup.cpp:21: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/start_backup.cpp:21: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ urbackupserver/serverinterface/start_backup.cpp: In member function 'virtual void Actions::start_backup::Execute(str_map&, str_map&, THREAD_ID, str_map&)': urbackupserver/serverinterface/start_backup.cpp:49:13: warning: unused variable 'db' [-Wunused-variable] IDatabase *db=helper.getDatabase(); ^~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-create_files_index.o `test -f 'urbackupserver/create_files_index.cpp' || echo './'`urbackupserver/create_files_index.cpp In file included from urbackupserver/create_files_index.cpp:22: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/create_files_index.cpp:25: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/create_files_index.cpp:25: urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_transaction_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:28: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ urbackupserver/create_files_index.cpp: In function 'bool {anonymous}::create_files_index_common(FileIndex&, SStartupStatus&)': urbackupserver/create_files_index.cpp:193:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr db_file(Server->openFile("urbackup/backup_server_files_new.db", MODE_RW)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/create_files_index.cpp:25: urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/create_files_index.cpp:22: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-export_auth_log.o `test -f 'urbackupserver/apps/export_auth_log.cpp' || echo './'`urbackupserver/apps/export_auth_log.cpp In file included from urbackupserver/apps/../serverinterface/login.h:3, from urbackupserver/apps/export_auth_log.cpp:21: urbackupserver/apps/../serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/apps/../serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/apps/export_auth_log.cpp:22: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-LMDBFileIndex.o `test -f 'urbackupserver/LMDBFileIndex.cpp' || echo './'`urbackupserver/LMDBFileIndex.cpp In file included from urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr read_transaction_lock; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/LMDBFileIndex.h:10, from urbackupserver/LMDBFileIndex.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:29: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h: In constructor 'LMDBFileIndex::LMDBFileIndex(bool)': urbackupserver/LMDBFileIndex.h:77:7: warning: 'LMDBFileIndex::_has_error' will be initialized after [-Wreorder] bool _has_error; ^~~~~~~~~~ urbackupserver/LMDBFileIndex.h:76:11: warning: 'MDB_txn* LMDBFileIndex::txn' [-Wreorder] MDB_txn *txn; ^~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] LMDBFileIndex::LMDBFileIndex(bool no_sync) ^~~~~~~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h:76:11: warning: 'LMDBFileIndex::txn' will be initialized after [-Wreorder] MDB_txn *txn; ^~~ urbackupserver/LMDBFileIndex.h:63:9: warning: 'size_t LMDBFileIndex::map_size' [-Wreorder] size_t map_size; ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] LMDBFileIndex::LMDBFileIndex(bool no_sync) ^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'bool LMDBFileIndex::create_env()': urbackupserver/LMDBFileIndex.cpp:504:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lmdb_f(Server->openFile("urbackup/fileindex/backup_server_files_index.lmdb", MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/LMDBFileIndex.h:10, from urbackupserver/LMDBFileIndex.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'virtual int64 LMDBFileIndex::get_any_client(const FileIndex::SIndexKey&)': urbackupserver/LMDBFileIndex.cpp:607:13: warning: unused variable 'curr_key' [-Wunused-variable] SIndexKey* curr_key = reinterpret_cast(mdb_tkey.mv_data); ^~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:29: urbackupserver/../Interface/File.h: At global scope: urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'virtual void LMDBFileIndex::create(FileIndex::get_data_callback_t, void*)': urbackupserver/LMDBFileIndex.cpp:148:27: warning: 'last_id' may be used uninitialized in this function [-Wmaybe-uninitialized] filesdao.setNextEntry(last_id, id); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.cpp:146:47: warning: 'last_prev_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] && (last_prev_entry==0 || last_prev_entry==id) ) ~~~~~~~~~~~~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-livelog.o `test -f 'urbackupserver/serverinterface/livelog.cpp' || echo './'`urbackupserver/serverinterface/livelog.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-InternetServiceConnector.o `test -f 'urbackupserver/InternetServiceConnector.cpp' || echo './'`urbackupserver/InternetServiceConnector.cpp In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/InternetServiceConnector.cpp:20: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/InternetServiceConnector.cpp:28: urbackupserver/../urbackupcommon/CompressedPipe2.h: At global scope: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:28: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:78: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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:79: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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:33: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/login.h:3, from urbackupserver/InternetServiceConnector.cpp:35: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:33: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/InternetServiceConnector.cpp:20: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupsrv-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp In file included from Server.cpp:39: Server.h:48: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:18, 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_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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 lock_count; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Server.h:18, 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:51: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:18, 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:50: 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:54: 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:18, 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:54: 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:18, 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:56: 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:18, 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:58: 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:18, 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:272: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:323: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:500: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:858: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:2037: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:51: 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:1788: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:503: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) ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Server.cpp:39: socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ThrottleUpdater.o `test -f 'urbackupserver/ThrottleUpdater.cpp' || echo './'`urbackupserver/ThrottleUpdater.cpp In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-create_zip.o `test -f 'urbackupserver/serverinterface/create_zip.cpp' || echo './'`urbackupserver/serverinterface/create_zip.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/serverinterface/create_zip.cpp:24: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ urbackupserver/serverinterface/create_zip.cpp: In function 'bool {anonymous}::add_dir(mz_zip_archive&, const string&, const string&, const string&, const string&, const string&, const string&, const string&, bool, const std::vector&, const std::vector >&, bool)': urbackupserver/serverinterface/create_zip.cpp:282:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr add_file(Server->openFile(os_file_prefix(filename), MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/create_zip.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-Backup.o `test -f 'urbackupserver/Backup.cpp' || echo './'`urbackupserver/Backup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/Backup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/Backup.cpp:19: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:25: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/Backup.cpp:26: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/Backup.cpp:26: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/Backup.cpp:26: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/Backup.cpp: In member function 'virtual void {anonymous}::DelayedWakeup::operator()()': urbackupserver/Backup.cpp:49:11: warning: deleting object of polymorphic class type '{anonymous}::DelayedWakeup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h: In constructor 'Backup::Backup(ClientMain*, int, std::__cxx11::string, std::__cxx11::string, LogAction, bool, bool, std::__cxx11::string, std::__cxx11::string, bool)': urbackupserver/Backup.h:115:7: warning: 'Backup::r_incremental' will be initialized after [-Wreorder] bool r_incremental; ^~~~~~~~~~~~~ urbackupserver/Backup.h:114:7: warning: 'bool Backup::r_resumed' [-Wreorder] bool r_resumed; ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:122:7: warning: 'Backup::backup_result' will be initialized after [-Wreorder] bool backup_result; ^~~~~~~~~~~~~ urbackupserver/Backup.h:109:7: warning: 'bool Backup::log_backup' [-Wreorder] bool log_backup; ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:116:7: warning: 'Backup::should_backoff' will be initialized after [-Wreorder] bool should_backoff; ^~~~~~~~~~~~~~ urbackupserver/Backup.h:105:13: warning: 'IDatabase* Backup::db' [-Wreorder] IDatabase* db; ^~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:125:9: warning: 'Backup::status_id' will be initialized after [-Wreorder] size_t status_id; ^~~~~~~~~ urbackupserver/Backup.h:112:7: warning: 'bool Backup::has_timeout_error' [-Wreorder] bool has_timeout_error; ^~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:129:14: warning: 'Backup::server_token' will be initialized after [-Wreorder] std::string server_token; ^~~~~~~~~~~~ urbackupserver/Backup.h:120:14: warning: 'std::__cxx11::string Backup::details' [-Wreorder] std::string details; ^~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:120:14: warning: 'Backup::details' will be initialized after [-Wreorder] std::string details; ^~~~~~~ urbackupserver/Backup.h:117:9: warning: 'size_t Backup::num_issues' [-Wreorder] size_t num_issues; ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:131:7: warning: 'Backup::stop_backup_running' will be initialized after [-Wreorder] bool stop_backup_running; ^~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.h:118:7: warning: 'bool Backup::scheduled' [-Wreorder] bool scheduled; ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h:118:7: warning: 'Backup::scheduled' will be initialized after [-Wreorder] bool scheduled; ^~~~~~~~~ urbackupserver/Backup.h:111:7: warning: 'bool Backup::allow_remove_backup_folder' [-Wreorder] bool allow_remove_backup_folder; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, ^~~~~~ urbackupserver/Backup.cpp: In member function 'virtual void Backup::operator()()': urbackupserver/Backup.cpp:121:7: warning: unused variable 'do_log' [-Wunused-variable] bool do_log = false; ^~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/Backup.cpp:26: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/Backup.cpp:26: urbackupserver/../urlplugin/../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 urbackupserver/Backup.cpp:25: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupsrv-FileClientChunked.o `test -f 'urbackupcommon/fileclient/FileClientChunked.cpp' || echo './'`urbackupcommon/fileclient/FileClientChunked.cpp In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:10, 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-check_files_index.o `test -f 'urbackupserver/apps/check_files_index.cpp' || echo './'`urbackupserver/apps/check_files_index.cpp In file included from urbackupserver/apps/check_files_index.cpp:20: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/apps/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/apps/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/apps/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/check_files_index.cpp: In function 'int check_files_index()': urbackupserver/apps/check_files_index.cpp:63:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex(create_lmdb_files_index()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:20: urbackupserver/apps/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-verify_hashes.o `test -f 'urbackupserver/verify_hashes.cpp' || echo './'`urbackupserver/verify_hashes.cpp In file included from urbackupserver/verify_hashes.cpp:21: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/verify_hashes.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:11, from urbackupserver/server_hash.h:10, from urbackupserver/verify_hashes.cpp:34: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/verify_hashes.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/verify_hashes.cpp:35: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_file(db_single_result&, _i64&, _i64, bool&, const string&)': urbackupserver/verify_hashes.cpp:129:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(os_file_prefix(fp), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/verify_hashes.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_hashes(std::__cxx11::string)': urbackupserver/verify_hashes.cpp:480:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex(create_lmdb_files_index()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/verify_hashes.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/verify_hashes.cpp:243:6: warning: unused variable 'backupid' [-Wunused-variable] int backupid=0; ^~~~~~~~ urbackupserver/verify_hashes.cpp:371:7: warning: unused variable 'crowid' [-Wunused-variable] _i64 crowid=0; ^~~~~~ In file included from urbackupserver/verify_hashes.cpp:27: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/verify_hashes.cpp:24: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/verify_hashes.cpp:21: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_archive.o `test -f 'urbackupserver/server_archive.cpp' || echo './'`urbackupserver/server_archive.cpp In file included from urbackupserver/server_archive.cpp:23: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_archive.cpp:26: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_archive.cpp:26: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_archive.cpp:26: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_archive.cpp: In member function 'virtual void ServerAutomaticArchive::operator()()': urbackupserver/server_archive.cpp:51:9: warning: deleting object of polymorphic class type 'ServerAutomaticArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_archive.cpp:26: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_archive.cpp:26: urbackupserver/../urlplugin/../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 urbackupserver/server_archive.cpp:23: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-skiphash_copy.o `test -f 'urbackupserver/apps/skiphash_copy.cpp' || echo './'`urbackupserver/apps/skiphash_copy.cpp In file included from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:3, from urbackupserver/apps/skiphash_copy.cpp:3: urbackupserver/apps/../../urbackupcommon/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/skiphash_copy.cpp:4: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/skiphash_copy.cpp: In function 'bool skiphash_copy(const string&, const string&, const string&)': urbackupserver/apps/skiphash_copy.cpp:12:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr src(Server->openFile(os_file_prefix(src_path), MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:20:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashoutput(Server->openFile(os_file_prefix(dst_path+".hash"), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:30:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dst(Server->openFile(os_file_prefix(dst_path), MODE_RW)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:43:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashinput; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5, from urbackupserver/apps/skiphash_copy.cpp:3: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/../../urbackupcommon/TreeHash.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:6, from urbackupserver/apps/skiphash_copy.cpp:3: urbackupserver/apps/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:3, from urbackupserver/apps/skiphash_copy.cpp:3: urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/dao/urbackupsrv-ServerLinkDao.o `test -f 'urbackupserver/dao/ServerLinkDao.cpp' || echo './'`urbackupserver/dao/ServerLinkDao.cpp In file included from urbackupserver/dao/ServerLinkDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/dao/urbackupsrv-ServerBackupDao.o `test -f 'urbackupserver/dao/ServerBackupDao.cpp' || echo './'`urbackupserver/dao/ServerBackupDao.cpp In file included from urbackupserver/dao/ServerBackupDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/dao/urbackupsrv-ServerLinkJournalDao.o `test -f 'urbackupserver/dao/ServerLinkJournalDao.cpp' || echo './'`urbackupserver/dao/ServerLinkJournalDao.cpp In file included from urbackupserver/dao/ServerLinkJournalDao.cpp:21: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_dir_links.o `test -f 'urbackupserver/server_dir_links.cpp' || echo './'`urbackupserver/server_dir_links.cpp In file included from urbackupserver/server_dir_links.cpp:19: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:26: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) ~~~^~~~~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:361:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction) ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_dir_links.cpp: In function 'bool remove_directory_link(const string&, ServerLinkDao&, int, std::auto_ptr&, bool)': urbackupserver/server_dir_links.cpp:444:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dir_f(Server->openFile(os_file_prefix(ExtractFilePath(path, os_file_sep())), mode)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:473:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr synchronous_link_dao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:26: urbackupserver/../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 urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:22: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/server_dir_links.cpp: In function 'bool link_directory_pool(int, const string&, const string&, const string&, bool, ServerLinkDao*&, ServerLinkJournalDao*&, int)': urbackupserver/server_dir_links.cpp:297:53: warning: 'replay_entry_id' may be used uninitialized in this function [-Wmaybe-uninitialized] link_journal_dao->removeDirectoryLinkJournalEntry(replay_entry_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ContinuousBackup.o `test -f 'urbackupserver/ContinuousBackup.cpp' || echo './'`urbackupserver/ContinuousBackup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:8, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/FileBackup.h:10, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:144: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:68: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:166: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:17, from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:8: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] bool switched; ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:8: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] bool write_metadata; ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:3: warning: when initialized here [-Wreorder] SQueueItem() ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:10: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] size_t max_id; ^~~~~~ urbackupserver/ServerDownloadThread.h:133:8: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] bool finalized; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:3: warning: when initialized here [-Wreorder] IdRange() ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:702:32: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool constructFileClient(std::auto_ptr& new_fc) ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:935:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:937:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient_chunked; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:938:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:939:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient_metadata; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:941:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:943:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_download; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:953:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:954:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:955:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h: In constructor 'BackupServerContinuous::BackupServerContinuous(ClientMain*, const string&, const string&, const string&, const string&, bool, int, const string&, int, bool, bool, IPipe*)': urbackupserver/server_continuous.h:932:6: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/server_continuous.h:927:7: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] bool use_snapshots; ^~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:68:2: warning: when initialized here [-Wreorder] BackupServerContinuous(ClientMain* client_main, const std::string& continuous_path, const std::string& continuous_hash_path, const std::string& continuous_path_backup, ^~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h: In member function 'virtual void BackupServerContinuous::operator()()': urbackupserver/server_continuous.h:180:10: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:652:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execMod(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:729:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ContinuousBackup.cpp: In member function 'virtual bool ContinuousBackup::doFileBackup()': urbackupserver/ContinuousBackup.cpp:45:7: warning: variable 'intra_file_diffs' set but not used [-Wunused-but-set-variable] bool intra_file_diffs; ^~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:14: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; ^~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileBackup.h:12, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-restore_prepare_wait.o `test -f 'urbackupserver/serverinterface/restore_prepare_wait.cpp' || echo './'`urbackupserver/serverinterface/restore_prepare_wait.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/dao/urbackupsrv-ServerFilesDao.o `test -f 'urbackupserver/dao/ServerFilesDao.cpp' || echo './'`urbackupserver/dao/ServerFilesDao.cpp In file included from urbackupserver/dao/ServerFilesDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-add_client.o `test -f 'urbackupserver/serverinterface/add_client.cpp' || echo './'`urbackupserver/serverinterface/add_client.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/serverinterface/../../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-DataplanDb.o `test -f 'urbackupserver/DataplanDb.cpp' || echo './'`urbackupserver/DataplanDb.cpp In file included from urbackupserver/DataplanDb.cpp:19: urbackupserver/DataplanDb.h:29: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 urbackupserver/DataplanDb.h:5, from urbackupserver/DataplanDb.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/DataplanDb.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-PhashLoad.o `test -f 'urbackupserver/PhashLoad.cpp' || echo './'`urbackupserver/PhashLoad.cpp In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/PhashLoad.h:5, from urbackupserver/PhashLoad.cpp:1: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h: In constructor 'PhashLoad::PhashLoad(FileClient*, logid_t, std::__cxx11::string)': urbackupserver/PhashLoad.h:40:8: warning: 'PhashLoad::phash_file_pos' will be initialized after [-Wreorder] int64 phash_file_pos; ^~~~~~~~~~~~~~ urbackupserver/PhashLoad.h:39:11: warning: 'IFsFile* PhashLoad::phash_file' [-Wreorder] IFsFile* phash_file; ^~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] PhashLoad::PhashLoad(FileClient* fc, ^~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h:39:11: warning: 'PhashLoad::phash_file' will be initialized after [-Wreorder] IFsFile* phash_file; ^~~~~~~~~~ urbackupserver/PhashLoad.h:35:7: warning: 'bool PhashLoad::eof' [-Wreorder] bool eof; ^~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] PhashLoad::PhashLoad(FileClient* fc, ^~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h:35:7: warning: 'PhashLoad::eof' will be initialized after [-Wreorder] bool eof; ^~~ urbackupserver/PhashLoad.h:34:7: warning: 'bool PhashLoad::has_timeout_error' [-Wreorder] bool has_timeout_error; ^~~~~~~~~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] PhashLoad::PhashLoad(FileClient* fc, ^~~~~~~~~ urbackupserver/PhashLoad.cpp: In member function 'virtual void PhashLoad::operator()()': urbackupserver/PhashLoad.cpp:36:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_file_dl(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/PhashLoad.h:5, from urbackupserver/PhashLoad.cpp:1: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ImageMount.o `test -f 'urbackupserver/ImageMount.cpp' || echo './'`urbackupserver/ImageMount.cpp In file included from urbackupserver/ImageMount.cpp:3: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/ImageMount.cpp:9: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageMount.cpp: In constructor '{anonymous}::MountImageThread::MountImageThread(int, int, std::__cxx11::string&)': urbackupserver/ImageMount.cpp:432:7: warning: '{anonymous}::MountImageThread::partition' will be initialized after [-Wreorder] int partition; ^~~~~~~~~ urbackupserver/ImageMount.cpp:431:16: warning: 'std::__cxx11::string& {anonymous}::MountImageThread::errmsg' [-Wreorder] std::string& errmsg; ^~~~~~ urbackupserver/ImageMount.cpp:434:3: warning: when initialized here [-Wreorder] MountImageThread(int backupid, int partition, std::string& errmsg) ^~~~~~~~~~~~~~~~ urbackupserver/ImageMount.cpp: In member function 'virtual void {anonymous}::MountImageThread::operator()()': urbackupserver/ImageMount.cpp:443:11: warning: deleting object of polymorphic class type '{anonymous}::MountImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ImageMount.cpp: In static member function 'static void ImageMount::mount_image_thread(int, int, std::__cxx11::string&)': urbackupserver/ImageMount.cpp:732:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr vhdfile; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageMount.cpp:750:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (partition < partitions.size()) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ImageMount.cpp:9: urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/ImageMount.cpp:3: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-restore_client.o `test -f 'urbackupserver/restore_client.cpp' || echo './'`urbackupserver/restore_client.cpp In file included from urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:5, from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../urbackupcommon/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:6, from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:21: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/restore_client.cpp:25: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/restore_client.cpp:25: urbackupserver/../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 urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/restore_client.cpp:25: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/restore_client.cpp:25: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/restore_client.cpp: In member function 'virtual IFile* {anonymous}::MetadataCallback::getMetadata(const string&, std::__cxx11::string*, int64*, int64*, _u32*, bool)': urbackupserver/restore_client.cpp:111:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_file(Server->openFile(os_file_prefix(metadata_path), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/restore_client.cpp:196:18: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] if (m_length <= sizeof(int64) ) ~~~~~~~~~^~~~~~~~~~~~~~~~ urbackupserver/restore_client.cpp: In constructor '{anonymous}::ClientDownloadThread::ClientDownloadThread(const string&, int, int, IFile*, const string&, const string&, const string&, bool, const string&, int64, size_t, logid_t, const string&, const string&, const std::vector, std::__cxx11::basic_string > >&, bool, bool, const string&, bool, int64, const std::vector >&, backupaccess::STokens)': urbackupserver/restore_client.cpp:616:15: warning: '{anonymous}::ClientDownloadThread::identity' will be initialized after [-Wreorder] std::string identity; ^~~~~~~~ urbackupserver/restore_client.cpp:612:9: warning: 'int64 {anonymous}::ClientDownloadThread::restore_id' [-Wreorder] int64 restore_id; ^~~~~~~~~~ urbackupserver/restore_client.cpp:227:3: warning: when initialized here [-Wreorder] ClientDownloadThread(const std::string& curr_clientname, int curr_clientid, int restore_clientid, IFile* filelist_f, const std::string& foldername, ^~~~~~~~~~~~~~~~~~~~ urbackupserver/restore_client.cpp: In member function 'bool {anonymous}::ClientDownloadThread::createFilelist(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, size_t, bool)': urbackupserver/restore_client.cpp:404:10: warning: unused variable 'has_metadata' [-Wunused-variable] bool has_metadata = false; ^~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/restore_client.cpp:25: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:6, from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:5, from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-scripts.o `test -f 'urbackupserver/serverinterface/scripts.cpp' || echo './'`urbackupserver/serverinterface/scripts.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-Mailer.o `test -f 'urbackupserver/Mailer.cpp' || echo './'`urbackupserver/Mailer.cpp In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Mailer.cpp:5: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/Mailer.cpp:6: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/Mailer.cpp:6: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/Mailer.cpp:6: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/Mailer.cpp: In member function 'virtual void Mailer::operator()()': urbackupserver/Mailer.cpp:156:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (n > max_mail_retry_count) ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/Mailer.cpp:6: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Mailer.cpp:5: urbackupserver/../urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackup_snapshot_helper-os_functions_lin_min.o `test -f 'urbackupcommon/os_functions_lin_min.cpp' || echo './'`urbackupcommon/os_functions_lin_min.cpp In file included from urbackupcommon/os_functions_lin_min.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/../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) ^~~~~~~~~~~~~ urbackupcommon/os_functions_lin_min.cpp: In function 'std::vector getFiles(const string&, bool*, bool)': urbackupcommon/os_functions_lin_min.cpp:106: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackup_mount_helper-os_functions_lin_min.o `test -f 'urbackupcommon/os_functions_lin_min.cpp' || echo './'`urbackupcommon/os_functions_lin_min.cpp In file included from urbackupcommon/os_functions_lin_min.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/../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) ^~~~~~~~~~~~~ urbackupcommon/os_functions_lin_min.cpp: In function 'std::vector getFiles(const string&, bool*, bool)': urbackupcommon/os_functions_lin_min.cpp:106: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-FileMetadataDownloadThread.o `test -f 'urbackupserver/FileMetadataDownloadThread.cpp' || echo './'`urbackupserver/FileMetadataDownloadThread.cpp In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileMetadataDownloadThread.h:2, from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:144: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:22: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:68: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:166: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h: In constructor 'server::FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient*, const string&, logid_t, int, int, bool, std::__cxx11::string)': urbackupserver/FileMetadataDownloadThread.h:125:10: warning: 'server::FileMetadataDownloadThread::logid' will be initialized after [-Wreorder] logid_t logid; ^~~~~ urbackupserver/FileMetadataDownloadThread.h:121:7: warning: 'bool server::FileMetadataDownloadThread::has_error' [-Wreorder] bool has_error; ^~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:132:6: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:8: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] int64 max_metadata_id; ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:133:6: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] int clientid; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:7: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] bool has_fatal_error; ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145:28: warning: 'server::FileMetadataDownloadThread::cond' will be initialized after [-Wreorder] std::auto_ptr cond; ^~~~ urbackupserver/FileMetadataDownloadThread.h:143:7: warning: 'bool server::FileMetadataDownloadThread::force_start' [-Wreorder] bool force_start; ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:143:7: warning: 'server::FileMetadataDownloadThread::force_start' will be initialized after [-Wreorder] bool force_start; ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:135:35: warning: 'FileClient::ProgressLogCallback* server::FileMetadataDownloadThread::orig_progress_log_callback' [-Wreorder] FileClient::ProgressLogCallback* orig_progress_log_callback; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h: In constructor 'server::FileMetadataDownloadThread::FileMetadataDownloadThread(const string&, std::__cxx11::string, int, int, bool, std::__cxx11::string)': urbackupserver/FileMetadataDownloadThread.h:132:6: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:8: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] int64 max_metadata_id; ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string& server_token, std::string metadata_tmp_fn, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:133:6: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] int clientid; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:7: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] bool has_fatal_error; ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string& server_token, std::string metadata_tmp_fn, ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'virtual void server::FileMetadataDownloadThread::operator()()': urbackupserver/FileMetadataDownloadThread.cpp:59:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'bool server::FileMetadataDownloadThread::applyMetadata(const string&, const string&, INotEnoughSpaceCallback*, BackupServerHash*, FilePathCorrections&, size_t&, MaxFileId*)': urbackupserver/FileMetadataDownloadThread.cpp:99:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, mode)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:359:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr output_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:719:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr output_f(Server->openFile(os_file_prefix(os_path), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:824:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmp(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'void server::FileMetadataDownloadThread::copyForAnalysis(IFile*)': urbackupserver/FileMetadataDownloadThread.cpp:1436:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmp(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:14: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4, from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileMetadataDownloadThread.h:2, from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-blockalign.o `test -f 'urbackupserver/apps/blockalign.cpp' || echo './'`urbackupserver/apps/blockalign.cpp In file included from urbackupserver/apps/blockalign.cpp:6: urbackupserver/apps/../../blockalign_src/main.cpp: In constructor 'HashDb::HashDb(std::__cxx11::string)': urbackupserver/apps/../../blockalign_src/main.cpp:257:6: warning: 'HashDb::hFile' will be initialized after [-Wreorder] int hFile; ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'int* HashDb::view' [-Wreorder] int* view; ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] HashDb(std::string fn) ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'HashDb::view' will be initialized after [-Wreorder] int* view; ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:251:10: warning: 'bool HashDb::has_error' [-Wreorder] bool has_error; ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] HashDb(std::string fn) ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In constructor 'BlockMap::BlockMap(std::__cxx11::string, int64_t)': urbackupserver/apps/../../blockalign_src/main.cpp:420:6: warning: 'BlockMap::hFile' will be initialized after [-Wreorder] int hFile; ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:415:11: warning: 'char* BlockMap::view_start' [-Wreorder] char* view_start; ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] BlockMap(std::string fn, int64_t bm_size) ^~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:415:11: warning: 'BlockMap::view_start' will be initialized after [-Wreorder] char* view_start; ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:413:10: warning: 'bool BlockMap::has_error' [-Wreorder] bool has_error; ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] BlockMap(std::string fn, int64_t bm_size) ^~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In function 'void write_item(unsigned int, size_t, const char*, uint64_t&, int64_t&, int64_t, std::ofstream&, std::ostream&, std::vector&)': urbackupserver/apps/../../blockalign_src/main.cpp:634:13: warning: unused variable 'abc' [-Wunused-variable] int abc = 4; ^~~ In file included from urbackupserver/apps/blockalign.cpp:6: urbackupserver/apps/../../blockalign_src/main.cpp: In function 'void process_block(uint64_t&, unsigned int, const char*, size_t, HashDb&, OutputBuffer&, std::ofstream&, int64_t&, int64_t, std::ostream&, std::vector&)': urbackupserver/apps/../../blockalign_src/main.cpp:803:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] offset==output_item->first + output_item->second.blockdata.size() + c_fit_off) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In function 'bool restore_stream(const string&, std::istream&, std::ostream&)': urbackupserver/apps/../../blockalign_src/main.cpp:983:17: warning: unused variable 'abc' [-Wunused-variable] int abc = 45; ^~~ urbackupserver/apps/../../blockalign_src/main.cpp: In function 'int blockalign(const string&, std::istream&, std::ostream&, bool)': urbackupserver/apps/../../blockalign_src/main.cpp:1080:38: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (out_stream.tellp() - start_pos != magic.size() + sizeof(blocksize_avg)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:1203:33: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (out_stream.tellp() - ppos != blockmap.size() * sizeof(int32_t) + sizeof(bmsize)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/apps/blockalign.cpp:6: urbackupserver/apps/../../blockalign_src/main.cpp: In function 'bool restore_stream(const string&, std::istream&, std::ostream&)': urbackupserver/apps/../../blockalign_src/main.cpp:403:28: warning: 'block_map.BlockMap::view' may be used uninitialized in this function [-Wmaybe-uninitialized] return view[blocknr]; ^ In file included from urbackupserver/apps/blockalign.cpp:6: urbackupserver/apps/../../blockalign_src/main.cpp:926:14: note: 'block_map.BlockMap::view' was declared here BlockMap block_map(in_fn, bmsize); ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupsrv-adler32.o `test -f 'common/adler32.cpp' || echo './'`common/adler32.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ServerDownloadThread.o `test -f 'urbackupserver/ServerDownloadThread.cpp' || echo './'`urbackupserver/ServerDownloadThread.cpp In file included from urbackupserver/ServerDownloadThread.h:12, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:17, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:8: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] bool switched; ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:8: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] bool write_metadata; ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:3: warning: when initialized here [-Wreorder] SQueueItem() ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:10: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] size_t max_id; ^~~~~~ urbackupserver/ServerDownloadThread.h:133:8: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] bool finalized; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:3: warning: when initialized here [-Wreorder] IdRange() ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:144: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:145: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:68: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:166: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h: In constructor 'ServerDownloadThread::ServerDownloadThread(FileClient&, FileClientChunked*, const string&, const string&, const string&, const string&, bool, bool, int, const string&, const string&, bool, const string&, const string&, bool, int, bool, IPipe*, ClientMain*, int, int, logid_t, bool, const std::vector >&, bool, server::FileMetadataDownloadThread*, bool, FilePathCorrections&, MaxFileId&)': urbackupserver/ServerDownloadThread.h:280:9: warning: 'ServerDownloadThread::max_ok_id' will be initialized after [-Wreorder] size_t max_ok_id; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:270:7: warning: 'bool ServerDownloadThread::is_offline' [-Wreorder] bool is_offline; ^~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:270:7: warning: 'ServerDownloadThread::is_offline' will be initialized after [-Wreorder] bool is_offline; ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h:265:14: warning: 'ClientMain* ServerDownloadThread::client_main' [-Wreorder] ClientMain* client_main; ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:277:7: warning: 'ServerDownloadThread::all_downloads_ok' will be initialized after [-Wreorder] bool all_downloads_ok; ^~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:268:6: warning: 'int ServerDownloadThread::incremental_num' [-Wreorder] int incremental_num; ^~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:290:10: warning: 'ServerDownloadThread::logid' will be initialized after [-Wreorder] logid_t logid; ^~~~~ urbackupserver/ServerDownloadThread.h:271:7: warning: 'bool ServerDownloadThread::has_timeout' [-Wreorder] bool has_timeout; ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:283:7: warning: 'ServerDownloadThread::with_hashes' will be initialized after [-Wreorder] bool with_hashes; ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:282:7: warning: 'bool ServerDownloadThread::with_metadata' [-Wreorder] bool with_metadata; ^~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:294:7: warning: 'ServerDownloadThread::with_sparse_hashing' will be initialized after [-Wreorder] bool with_sparse_hashing; ^~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:272:7: warning: 'bool ServerDownloadThread::exp_backoff' [-Wreorder] bool exp_backoff; ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ServerDownloadThread.h:308:9: warning: 'ServerDownloadThread::tmpfile_num' will be initialized after [-Wreorder] size_t tmpfile_num; ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:297:23: warning: 'FilePathCorrections& ServerDownloadThread::filepath_corrections' [-Wreorder] FilePathCorrections& filepath_corrections; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp: In member function '{anonymous}::SPatchDownloadFiles ServerDownloadThread::preparePatchDownloadFiles(const {anonymous}::SQueueItem&, bool&)': urbackupserver/ServerDownloadThread.cpp:1331:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr file_old(Server->openFile(os_file_prefix(filepath_old), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp:1370:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashfile_old(Server->openFile(os_file_prefix(hashpath_old), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp: In member function 'bool ServerDownloadThread::logScriptOutput(std::__cxx11::string, const {anonymous}::SQueueItem&, std::__cxx11::string&, int64, bool&)': urbackupserver/ServerDownloadThread.cpp:1814:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_file(Server->openFile(os_file_prefix(backuppath + os_path), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:14: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../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 urbackupserver/ServerDownloadThread.h:12, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libfastcgi/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-status_check.o `test -f 'urbackupserver/serverinterface/status_check.cpp' || echo './'`urbackupserver/serverinterface/status_check.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'std::__cxx11::string {anonymous}::access_dir_hint(std::__cxx11::string)': urbackupserver/serverinterface/status_check.cpp:72:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (has_error && os_last_error() == 5 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'void {anonymous}::access_dir_checks(IDatabase*, ServerSettings&, std::__cxx11::string, std::__cxx11::string, JSON::Object&)': urbackupserver/serverinterface/status_check.cpp:274:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr test_file(Server->openFile(test3_path, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp:329:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid_t())); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sqlite/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackup_snapshot_helper-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-pluginmgr.o `test -f 'fsimageplugin/pluginmgr.cpp' || echo './'`fsimageplugin/pluginmgr.cpp In file included from fsimageplugin/pluginmgr.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h: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) ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-LogReport.o `test -f 'urbackupserver/LogReport.cpp' || echo './'`urbackupserver/LogReport.cpp In file included from urbackupserver/LogReport.cpp:5: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/LogReport.cpp:8: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/LogReport.cpp:10: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:10: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/LogReport.cpp:11: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/LogReport.cpp:8: urbackupserver/../urlplugin/../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 urbackupserver/LogReport.cpp:5: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackup_mount_helper-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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:128: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:129: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/fs/urbackupsrv-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:128: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:129: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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:128: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:129: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:232: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:233: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:234: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:235:14: warning: 'Filesystem_ReadaheadThread::fs' will be initialized after [-Wreorder] Filesystem& fs; ^~ fsimageplugin/filesystem.cpp:232:24: warning: 'std::auto_ptr Filesystem_ReadaheadThread::mutex' [-Wreorder] std::auto_ptr mutex; ^~~~~ fsimageplugin/filesystem.cpp:79:2: warning: when initialized here [-Wreorder] Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:243:7: warning: 'Filesystem_ReadaheadThread::do_stop' will be initialized after [-Wreorder] bool do_stop; ^~~~~~~ fsimageplugin/filesystem.cpp:239:7: warning: 'bool Filesystem_ReadaheadThread::readahead_miss' [-Wreorder] bool readahead_miss; ^~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:79: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:137:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] IFsNextBlockCallback* next_block_callback; ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:133:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250: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:133:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:132:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250: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:132:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:111:8: warning: 'int64 Filesystem::errcode' [-Wreorder] int64 errcode; ^~~~~~~ fsimageplugin/filesystem.cpp:250: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:137:24: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] IFsNextBlockCallback* next_block_callback; ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:133:8: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273: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:133:8: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] int64 overlapped_next_block; ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:132:9: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273: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:132:9: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] size_t num_uncompleted_blocks; ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:111:8: warning: 'int64 Filesystem::errcode' [-Wreorder] int64 errcode; ^~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) ^~~~~~~~~~ fsimageplugin/filesystem.cpp: In destructor 'virtual Filesystem::~Filesystem()': fsimageplugin/filesystem.cpp:293:19: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete buffers[i]; ^ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::hasBlock(int64)': fsimageplugin/filesystem.cpp:312:8: warning: unused variable 'blocksize' [-Wunused-variable] int64 blocksize=getBlocksize(); ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'bool Filesystem::queueOverlappedReads(bool)': fsimageplugin/filesystem.cpp:628:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] while(block->n_buffers(getBlocksize()); ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual void Filesystem::releaseBuffer(IFilesystem::IFsBuffer*)': fsimageplugin/filesystem.cpp:829:9: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete simple_buf; ^~~~~~~~~~ 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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-Alerts.o `test -f 'urbackupserver/Alerts.cpp' || echo './'`urbackupserver/Alerts.cpp In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:6: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Alerts.cpp:8: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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()) ~~~^~~~~~~~~~~ urbackupserver/Alerts.cpp: In member function 'virtual void Alerts::operator()()': urbackupserver/Alerts.cpp:177:7: warning: unused variable 'first_run' [-Wunused-variable] bool first_run = true; ^~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Alerts.cpp:8: urbackupserver/../urlplugin/../Interface/File.h: At global scope: urbackupserver/../urlplugin/../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 urbackupserver/Alerts.cpp:6: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-FullFileBackup.o `test -f 'urbackupserver/FullFileBackup.cpp' || echo './'`urbackupserver/FullFileBackup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:8, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/FileBackup.h:10, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:144: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:68: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:166: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:29: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:8: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] bool switched; ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:8: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] bool write_metadata; ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:3: warning: when initialized here [-Wreorder] SQueueItem() ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:10: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] size_t max_id; ^~~~~~ urbackupserver/ServerDownloadThread.h:133:8: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] bool finalized; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:3: warning: when initialized here [-Wreorder] IdRange() ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/FullFileBackup.cpp: In member function 'virtual bool FullFileBackup::doFileBackup()': urbackupserver/FullFileBackup.cpp:226:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_download(new ServerDownloadThread(fc, NULL, backuppath, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FullFileBackup.cpp:515:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FullFileBackup.cpp:890:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FullFileBackup.cpp:199:7: warning: unused variable 'filelist_size' [-Wunused-variable] _i64 filelist_size=tmp_filelist->Size(); ^~~~~~~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/sha2/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common/urbackupsrv-miniz.o `test -f 'common/miniz.c' || echo './'`common/miniz.c common/miniz.c:3079:9: note: #pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files. #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-dllmain.o `test -f 'httpserver/dllmain.cpp' || echo './'`httpserver/dllmain.cpp In file included from httpserver/dllmain.cpp:37: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ httpserver/../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) ^~~~~~~~~~~~~ httpserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-IndexFiles.o `test -f 'httpserver/IndexFiles.cpp' || echo './'`httpserver/IndexFiles.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/fs/urbackupsrv-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:128: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:129: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-HTTPService.o `test -f 'httpserver/HTTPService.cpp' || echo './'`httpserver/HTTPService.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-cmdline_preprocessor.o `test -f 'urbackupserver/cmdline_preprocessor.cpp' || echo './'`urbackupserver/cmdline_preprocessor.cpp In file included from urbackupserver/cmdline_preprocessor.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h: At global scope: urbackupserver/../Server.h:48: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 urbackupserver/../tclap/Arg.h:38, from urbackupserver/../tclap/SwitchArg.h:30, from urbackupserver/../tclap/CmdLine.h:27, from urbackupserver/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 urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:49: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 urbackupserver/../tclap/Arg.h:38, from urbackupserver/../tclap/SwitchArg.h:30, from urbackupserver/../tclap/CmdLine.h:27, from urbackupserver/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 urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:50: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 urbackupserver/../tclap/Arg.h:38, from urbackupserver/../tclap/SwitchArg.h:30, from urbackupserver/../tclap/CmdLine.h:27, from urbackupserver/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 urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:51: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 urbackupserver/../tclap/Arg.h:38, from urbackupserver/../tclap/SwitchArg.h:30, from urbackupserver/../tclap/CmdLine.h:27, from urbackupserver/cmdline_preprocessor.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'void read_config_file(std::__cxx11::string, std::vector >&)': urbackupserver/cmdline_preprocessor.cpp:144: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 urbackupserver/../tclap/Arg.h:38, from urbackupserver/../tclap/SwitchArg.h:30, from urbackupserver/../tclap/CmdLine.h:27, from urbackupserver/cmdline_preprocessor.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:329:10: warning: deleting object of abstract class type 'IServer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete Server; ^~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'int action_mount_vhd(std::vector >)': urbackupserver/cmdline_preprocessor.cpp:880:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("modprobe fuse"); ~~~~~~^~~~~~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:895:7: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result] dup(i); ~~~^~~ urbackupserver/cmdline_preprocessor.cpp:896:7: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result] dup(i); ~~~^~~ In file included from urbackupserver/../LookupService.h:2, from urbackupserver/../Server.h:15, from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../socket_header.h: At global scope: urbackupserver/../socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:20: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-HTTPAction.o `test -f 'httpserver/HTTPAction.cpp' || echo './'`httpserver/HTTPAction.cpp In file included from httpserver/HTTPAction.cpp:25: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ httpserver/../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) ^~~~~~~~~~~~~ httpserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-HTTPFile.o `test -f 'httpserver/HTTPFile.cpp' || echo './'`httpserver/HTTPFile.cpp In file included from httpserver/HTTPFile.cpp:24: httpserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': httpserver/../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 httpserver/HTTPFile.cpp:27: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ httpserver/../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) ^~~~~~~~~~~~~ httpserver/../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 httpserver/HTTPFile.cpp:24: httpserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-MIMEType.o `test -f 'httpserver/MIMEType.cpp' || echo './'`httpserver/MIMEType.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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:128: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:129: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_update.o `test -f 'urbackupserver/server_update.cpp' || echo './'`urbackupserver/server_update.cpp In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/server_update.cpp:19: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/server_update.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update.cpp:24: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29: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 urbackupserver/DataplanDb.h:5, from urbackupserver/server_update.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update.cpp:22: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/server_update.cpp:19: urbackupserver/../urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-FileBackup.o `test -f 'urbackupserver/FileBackup.cpp' || echo './'`urbackupserver/FileBackup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/FileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8, from urbackupserver/FileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:8, from urbackupserver/FileBackup.cpp:18: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10, from urbackupserver/FileBackup.cpp:18: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/FileBackup.h:10, from urbackupserver/FileBackup.cpp:18: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:144: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:145: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:68: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:166: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:33: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h: In constructor 'FileBackup::FileBackup(ClientMain*, int, std::__cxx11::string, std::__cxx11::string, LogAction, bool, int, bool, std::__cxx11::string, bool, bool, std::__cxx11::string, std::__cxx11::string, bool)': urbackupserver/FileBackup.h:285:7: warning: 'FileBackup::disk_error' will be initialized after [-Wreorder] bool disk_error; ^~~~~~~~~~ urbackupserver/FileBackup.h:259:7: warning: 'bool FileBackup::with_hashes' [-Wreorder] bool with_hashes; ^~~~~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, ^~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:287:6: warning: 'FileBackup::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/FileBackup.h:267:9: warning: 'IPipe* FileBackup::hashpipe' [-Wreorder] IPipe *hashpipe; ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, ^~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:271:27: warning: 'FileBackup::bsh_prepare' will be initialized after [-Wreorder] BackupServerPrepareHash *bsh_prepare; ^~~~~~~~~~~ urbackupserver/FileBackup.h:270:20: warning: 'THREADPOOL_TICKET FileBackup::bsh_ticket' [-Wreorder] THREADPOOL_TICKET bsh_ticket; ^~~~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, ^~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:279:20: warning: 'FileBackup::pingthread_ticket' will be initialized after [-Wreorder] THREADPOOL_TICKET pingthread_ticket; ^~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:260:7: warning: 'bool FileBackup::cdp_path' [-Wreorder] bool cdp_path; ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, ^~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::request_filelist_construct(bool, bool, int, bool, bool&, bool&, const string&)': urbackupserver/FileBackup.cpp:193:7: warning: variable 'async_index' set but not used [-Wunused-but-set-variable] bool async_index = false; ^~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::wait_for_async(const string&, int64)': urbackupserver/FileBackup.cpp:399:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::getTokenFile(FileClient&, bool, bool)': urbackupserver/FileBackup.cpp:555:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr urbackup_tokens( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function '_i64 FileBackup::getIncrementalSize(IFile*, const std::vector&, bool&, bool)': urbackupserver/FileBackup.cpp:628:6: warning: unused variable 'indir_curr_depth' [-Wunused-variable] int indir_curr_depth=0; ^~~~~~~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'std::__cxx11::string FileBackup::getSHADef(const string&)': urbackupserver/FileBackup.cpp:1447:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::constructBackupPath(bool, bool, std::__cxx11::string&)': urbackupserver/FileBackup.cpp:1519:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::createUserViews(IFile*)': urbackupserver/FileBackup.cpp:1627:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr urbackup_tokens( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::saveUsersOnClient()': urbackupserver/FileBackup.cpp:2039:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr urbackup_tokens( ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startFileMetadataDownloadThread()': urbackupserver/FileBackup.cpp:2189:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_metadata_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopFileMetadataDownloadThread(bool, size_t)': urbackupserver/FileBackup.cpp:2256:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_metadata_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::loadWindowsBackupComponentConfigXml(FileClient&)': urbackupserver/FileBackup.cpp:2372:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr component_config_xml(Server->openFile(os_file_prefix(component_config_dir+os_file_sep()+"backupcom.xml"), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startPhashDownloadThread(const string&)': urbackupserver/FileBackup.cpp:2392:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_phash_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopPhashDownloadThread(const string&)': urbackupserver/FileBackup.cpp:2443:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_phash_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::save_debug_data(const string&, const string&, const string&)': urbackupserver/FileBackup.cpp:2495:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmpfile(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/FileBackup.cpp:2501:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr output_file(Server->openFile(tmpdirname+os_file_sep()+"verify_failed.file", MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:14: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; ^~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/FileBackup.cpp:18: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-ImageBackup.o `test -f 'urbackupserver/ImageBackup.cpp' || echo './'`urbackupserver/ImageBackup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h:88: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 urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_update_stats.h:4, from urbackupserver/ImageBackup.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:22: urbackupserver/server_update_stats.h: At global scope: urbackupserver/server_update_stats.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:22: urbackupserver/server_update_stats.h:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/bufmgr.h:6, from urbackupserver/server_writer.h:4, from urbackupserver/ImageBackup.cpp:27: urbackupserver/../urbackupcommon/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/ImageBackup.cpp:31: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/ImageBackup.cpp:31: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:40: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h: In constructor 'ImageBackup::ImageBackup(ClientMain*, int, std::__cxx11::string, std::__cxx11::string, LogAction, bool, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, bool, int64, std::__cxx11::string, int64, bool)': urbackupserver/ImageBackup.h:79:20: warning: 'ImageBackup::pingthread_ticket' will be initialized after [-Wreorder] THREADPOOL_TICKET pingthread_ticket; ^~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.h:68:14: warning: 'std::__cxx11::string ImageBackup::letter' [-Wreorder] std::string letter; ^~~~~~ urbackupserver/ImageBackup.cpp:111:1: warning: when initialized here [-Wreorder] ImageBackup::ImageBackup(ClientMain* client_main, int clientid, std::string clientname, ^~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h:74:6: warning: 'ImageBackup::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/ImageBackup.h:72:7: warning: 'bool ImageBackup::not_found' [-Wreorder] bool not_found; ^~~~~~~~~ urbackupserver/ImageBackup.cpp:111:1: warning: when initialized here [-Wreorder] ImageBackup::ImageBackup(ClientMain* client_main, int clientid, std::string clientname, ^~~~~~~~~~~ urbackupserver/ImageBackup.cpp: In member function 'bool ImageBackup::doImage(const string&, const string&, int, int, bool, std::__cxx11::string, bool, bool)': urbackupserver/ImageBackup.cpp:390:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mbr_file(Server->openFile(os_file_prefix(imagefn + ".mbr"), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:422:10: warning: unused variable 'full_backup_starttime' [-Wunused-variable] int64 full_backup_starttime = Server->getTimeMS(); ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:594:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashfile(Server->openFile(os_file_prefix(pParentvhd + ".hash"))); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:603:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr prevbitmap; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:678:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap_file; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:871:11: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr prevbitmap; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:1539:16: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete vhdfile; ^~~~~~~ urbackupserver/ImageBackup.cpp:1551:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:1633:17: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] currblock==0xFFFFFFFFFFFFFFFFLLU) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1660:16: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete vhdfile; ^~~~~~~ urbackupserver/ImageBackup.cpp:1874:10: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete vhdfile; ^~~~~~~ urbackupserver/ImageBackup.cpp:664:7: warning: unused variable 'first' [-Wunused-variable] bool first=true; ^~~~~ urbackupserver/ImageBackup.cpp: In member function 'std::__cxx11::string ImageBackup::constructImagePath(const string&, std::__cxx11::string, std::__cxx11::string)': urbackupserver/ImageBackup.cpp:2120:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:2205:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ImageBackup.cpp:2266:36: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (free_space != -1 && free_space(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ httpserver/../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) ^~~~~~~~~~~~~ httpserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o httpserver/urbackupsrv-HTTPClient.o `test -f 'httpserver/HTTPClient.cpp' || echo './'`httpserver/HTTPClient.cpp In file included from httpserver/HTTPClient.cpp:26: httpserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': httpserver/../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 httpserver/HTTPClient.cpp:27: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../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) ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ httpserver/../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) ^~~~~~~~~~~~~ httpserver/../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 httpserver/HTTPClient.cpp:26: httpserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/urbackupsrv-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_remove_nonempty_dir(const string&, os_symlink_callback_t, void*, bool)': urbackupcommon/os_functions_lin.cpp:471:8: warning: unused variable 'ok' [-Wunused-variable] bool ok=true; ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::__cxx11::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:594: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:1259:6: warning: unused variable 'io_prio' [-Wunused-variable] int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1260: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:135: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_running.o `test -f 'urbackupserver/server_running.cpp' || echo './'`urbackupserver/server_running.cpp In file included from urbackupserver/server_running.cpp:21: urbackupserver/server_running.h: In constructor 'ServerRunningUpdater::ServerRunningUpdater(int, bool)': urbackupserver/server_running.h:23:6: warning: 'ServerRunningUpdater::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/server_running.h:22:7: warning: 'bool ServerRunningUpdater::image' [-Wreorder] bool image; ^~~~~ urbackupserver/server_running.cpp:26:1: warning: when initialized here [-Wreorder] ServerRunningUpdater::ServerRunningUpdater(int pBackupid, bool pImage) : backupid(pBackupid), image(pImage) ^~~~~~~~~~~~~~~~~~~~ urbackupserver/server_running.cpp: In member function 'virtual void ServerRunningUpdater::operator()()': urbackupserver/server_running.cpp:73:9: warning: deleting object of polymorphic class type 'ServerRunningUpdater' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_ping.o `test -f 'urbackupserver/server_ping.cpp' || echo './'`urbackupserver/server_ping.cpp In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_ping.cpp:22: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/server_ping.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_ping.cpp:22: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_ping.cpp:22: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:21: urbackupserver/server_ping.h: In constructor 'ServerPingThread::ServerPingThread(ClientMain*, const string&, size_t, bool, std::__cxx11::string)': urbackupserver/server_ping.h:24:9: warning: 'ServerPingThread::status_id' will be initialized after [-Wreorder] size_t status_id; ^~~~~~~~~ urbackupserver/server_ping.h:22:7: warning: 'bool ServerPingThread::with_eta' [-Wreorder] bool with_eta; ^~~~~~~~ urbackupserver/server_ping.cpp:29:1: warning: when initialized here [-Wreorder] ServerPingThread::ServerPingThread(ClientMain *client_main, const std::string& clientname, ^~~~~~~~~~~~~~~~ urbackupserver/server_ping.cpp: In member function 'virtual void ServerPingThread::operator()()': urbackupserver/server_ping.cpp:129:9: warning: deleting object of polymorphic class type 'ServerPingThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_ping.cpp:22: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_ping.cpp:22: urbackupserver/../urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-copy_storage.o `test -f 'urbackupserver/copy_storage.cpp' || echo './'`urbackupserver/copy_storage.cpp In file included from urbackupserver/copy_storage.cpp:21: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/copy_storage.cpp:31: urbackupserver/server_dir_links.h: At global scope: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_dir_links.h:6, from urbackupserver/copy_storage.cpp:31: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/copy_storage.cpp:33: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/copy_storage.cpp:33: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/copy_storage.cpp:21: urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupcommon/fileclient/urbackupsrv-FileClient.o `test -f 'urbackupcommon/fileclient/FileClient.cpp' || echo './'`urbackupcommon/fileclient/FileClient.cpp In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__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:260:8: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] _i64 received_data_bytes; ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:253: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:285:8: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] bool needs_flush; ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:246: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:1080: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:2397: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:10, 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:1453:11: warning: 'hash_r' may be used uninitialized in this function [-Wmaybe-uninitialized] memcpy(&hash_buf[16-hash_r], &buf[off], tc); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_status.o `test -f 'urbackupserver/server_status.cpp' || echo './'`urbackupserver/server_status.cpp In file included from urbackupserver/server_status.cpp:21: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/server_status.cpp:21: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/action_header.h:9, from urbackupserver/server_status.cpp:24: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/action_header.h:10, from urbackupserver/server_status.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/action_header.h:9, from urbackupserver/server_status.cpp:24: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_log.o `test -f 'urbackupserver/server_log.cpp' || echo './'`urbackupserver/server_log.cpp In file included from urbackupserver/server_log.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_prepare_hash.o `test -f 'urbackupserver/server_prepare_hash.cpp' || echo './'`urbackupserver/server_prepare_hash.cpp In file included from urbackupserver/server_prepare_hash.h:5, from urbackupserver/server_prepare_hash.cpp:21: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/server_prepare_hash.cpp:21: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_prepare_hash.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/server_prepare_hash.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.cpp:32: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ urbackupserver/server_prepare_hash.cpp: In member function 'virtual void BackupServerPrepareHash::operator()()': urbackupserver/server_prepare_hash.cpp:81:11: warning: deleting object of polymorphic class type 'BackupServerPrepareHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_prepare_hash.cpp:169:10: 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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_prepare_hash.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_prepare_hash.cpp:218:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr l_hashoutput_f(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_prepare_hash.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_prepare_hash.cpp:21: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/server_prepare_hash.h:5, from urbackupserver/server_prepare_hash.cpp:21: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fsimageplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:128: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:129: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:67: 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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:112: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:253: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:357:9: warning: unused variable 'curr_pos' [-Wunused-variable] int64 curr_pos=0; ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'void LoadActions_fsimageplugin(IServer*)': fsimageplugin/dllmain.cpp:814: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:938: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:1067: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_writer.o `test -f 'urbackupserver/server_writer.cpp' || echo './'`urbackupserver/server_writer.cpp In file included from urbackupserver/../urbackupcommon/bufmgr.h:6, from urbackupserver/server_writer.h:4, from urbackupserver/server_writer.cpp:18: urbackupserver/../urbackupcommon/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_writer.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_writer.cpp:28: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_writer.cpp:28: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_writer.cpp:28: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_writer.cpp:28: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:18: urbackupserver/server_writer.h: In constructor 'ServerVHDWriter::ServerVHDWriter(IVHDFile*, unsigned int, unsigned int, int, bool, int64, IFile*, int64, logid_t, int64)': urbackupserver/server_writer.h:97:8: warning: 'ServerVHDWriter::mbr_offset' will be initialized after [-Wreorder] int64 mbr_offset; ^~~~~~~~~~ urbackupserver/server_writer.h:92:16: warning: 'volatile bool ServerVHDWriter::do_trim' [-Wreorder] volatile bool do_trim; ^~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, ^~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:18: urbackupserver/server_writer.h:101:8: warning: 'ServerVHDWriter::vhd_blocksize' will be initialized after [-Wreorder] int64 vhd_blocksize; ^~~~~~~~~~~~~ urbackupserver/server_writer.h:93:16: warning: 'volatile bool ServerVHDWriter::do_make_full' [-Wreorder] volatile bool do_make_full; ^~~~~~~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, ^~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In destructor 'ServerVHDWriter::~ServerVHDWriter()': urbackupserver/server_writer.cpp:79:10: warning: deleting object of polymorphic class type 'ServerFileBufferWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete filebuf_writer; ^~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In member function 'void ServerVHDWriter::checkFreeSpaceAndCleanup()': urbackupserver/server_writer.cpp:227:18: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if(fs!=-1 && fs <= free_space_lim ) ~~~^~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In member function 'virtual bool ServerVHDWriter::writeVHD(uint64, char*, unsigned int)': urbackupserver/server_writer.cpp:244:10: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] if (posdrivesize) ~~~^~~~~~~~~~ urbackupserver/server_writer.cpp:289:19: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if(fs!=-1 && fs <= free_space_lim ) ~~~^~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp:268:9: warning: variable 'errcode' set but not used [-Wunused-but-set-variable] int64 errcode = 0; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_writer.cpp:28: urbackupserver/../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 urbackupserver/server_writer.cpp:24: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/bufmgr.h:6, from urbackupserver/server_writer.h:4, from urbackupserver/server_writer.cpp:18: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-users.o `test -f 'urbackupserver/serverinterface/users.cpp' || echo './'`urbackupserver/serverinterface/users.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-salt.o `test -f 'urbackupserver/serverinterface/salt.cpp' || echo './'`urbackupserver/serverinterface/salt.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-progress.o `test -f 'urbackupserver/serverinterface/progress.cpp' || echo './'`urbackupserver/serverinterface/progress.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/progress.cpp:22: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/progress.cpp:22: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-login.o `test -f 'urbackupserver/serverinterface/login.cpp' || echo './'`urbackupserver/serverinterface/login.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-piegraph.o `test -f 'urbackupserver/serverinterface/piegraph.cpp' || echo './'`urbackupserver/serverinterface/piegraph.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-lastacts.o `test -f 'urbackupserver/serverinterface/lastacts.cpp' || echo './'`urbackupserver/serverinterface/lastacts.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/lastacts.cpp:22: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/lastacts.cpp:22: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server.o `test -f 'urbackupserver/server.cpp' || echo './'`urbackupserver/server.cpp In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server.cpp:18: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/server.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server.cpp:24: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server.cpp:24: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server.cpp:35: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:10, from urbackupserver/server.cpp:35: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h:144: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h:145: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:68: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:166: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void BackupServer::operator()()': urbackupserver/server.cpp:215:11: warning: deleting object of polymorphic class type 'BackupServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server.cpp: In member function 'void BackupServer::startClients(FileClient&)': urbackupserver/server.cpp:337:52: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FileClient::SAddrHint'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&(new_client.addr), 0, sizeof(sockaddr_in)); ^ In file included from urbackupserver/server.h:8, from urbackupserver/server.cpp:18: urbackupserver/../urbackupcommon/fileclient/FileClient.h:81:10: note: 'struct FileClient::SAddrHint' declared here struct SAddrHint ^~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::TestFilesystemThread::operator()()': urbackupserver/server.cpp:969:11: warning: deleting object of polymorphic class type '{anonymous}::TestFilesystemThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::FileCleanups::operator()()': urbackupserver/server.cpp:1110:11: warning: deleting object of polymorphic class type '{anonymous}::FileCleanups' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server.cpp: In member function 'void BackupServer::runServerRecovery(IDatabase*)': urbackupserver/server.cpp:1159:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(os_file_prefix(res["path"]))); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server.cpp:1226:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f(Server->openFile(os_file_prefix(backuppath + os_file_sep() + ".hashes" + os_file_sep() + sync_fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server.cpp:1251:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr file_cleanups(new FileCleanups); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server.cpp:1302:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr image_f(Server->openFile(os_file_prefix(path), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server.cpp:1338:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f(Server->openFile(os_file_prefix(res["path"] + ".sync"), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server.cpp:24: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server.cpp:18: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-usage.o `test -f 'urbackupserver/serverinterface/usage.cpp' || echo './'`urbackupserver/serverinterface/usage.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/serverinterface/../server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h: At global scope: urbackupserver/serverinterface/../server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:27: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:27: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ urbackupserver/serverinterface/usage.cpp: In member function 'virtual void {anonymous}::RecalculateStatistics::operator()()': urbackupserver/serverinterface/usage.cpp:64:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex(create_lmdb_files_index()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/usage.cpp:128:11: warning: deleting object of polymorphic class type '{anonymous}::RecalculateStatistics' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_update_stats.o `test -f 'urbackupserver/server_update_stats.cpp' || echo './'`urbackupserver/server_update_stats.cpp In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_update_stats.h:4, from urbackupserver/server_update_stats.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:19: urbackupserver/server_update_stats.h: At global scope: urbackupserver/server_update_stats.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:19: urbackupserver/server_update_stats.h:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:24: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:28: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:28: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_update_stats.cpp:29: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_update_stats.cpp:29: urbackupserver/../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 urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_update_stats.cpp:29: urbackupserver/../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 urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:24: urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_update_stats.h:4, from urbackupserver/server_update_stats.cpp:19: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-helper.o `test -f 'urbackupserver/serverinterface/helper.cpp' || echo './'`urbackupserver/serverinterface/helper.cpp In file included from urbackupserver/serverinterface/helper.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:20: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urlplugin/IUrlFactory.h:6, from urbackupserver/serverinterface/helper.cpp:26: urbackupserver/serverinterface/../../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../urlplugin/../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()) ~~~^~~~~~~~~~~ urbackupserver/serverinterface/helper.cpp: In member function 'ITemplate* Helper::createTemplate(std::__cxx11::string)': urbackupserver/serverinterface/helper.cpp:148:13: warning: unused variable 'db' [-Wunused-variable] IDatabase* db=NULL;//Server->getDatabase(tid, TRANSLATIONDB); ^~ In file included from urbackupserver/serverinterface/../../urlplugin/IUrlFactory.h:6, from urbackupserver/serverinterface/helper.cpp:26: urbackupserver/serverinterface/../../urlplugin/../Interface/File.h: At global scope: urbackupserver/serverinterface/../../urlplugin/../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 urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:20: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/treediff/urbackupsrv-TreeNode.o `test -f 'urbackupserver/treediff/TreeNode.cpp' || echo './'`urbackupserver/treediff/TreeNode.cpp In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h: In constructor 'TreeNode::TreeNode(const char*, const char*, TreeNode*, char)': urbackupserver/treediff/TreeNode.h:62:9: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] size_t num_children; ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:12: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] TreeNode *nextSibling; ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(const char* name, const char* data, TreeNode *parent, char node_type) ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:63:7: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] bool subtree_changed; ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:54:7: warning: 'char TreeNode::node_type' [-Wreorder] char node_type; ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(const char* name, const char* data, TreeNode *parent, char node_type) ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h: In constructor 'TreeNode::TreeNode()': urbackupserver/treediff/TreeNode.h:62:9: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] size_t num_children; ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:12: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] TreeNode *nextSibling; ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(void) ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:63:7: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] bool subtree_changed; ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:60:12: warning: 'TreeNode* TreeNode::parent' [-Wreorder] TreeNode *parent; ^~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(void) ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:60:12: warning: 'TreeNode::parent' will be initialized after [-Wreorder] TreeNode *parent; ^~~~~~ urbackupserver/treediff/TreeNode.h:56:14: warning: 'const char* TreeNode::name' [-Wreorder] const char* name; ^~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(void) ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:57:14: warning: 'TreeNode::data' will be initialized after [-Wreorder] const char* data; ^~~~ urbackupserver/treediff/TreeNode.h:54:7: warning: 'char TreeNode::node_type' [-Wreorder] char node_type; ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] TreeNode::TreeNode(void) ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/treediff/urbackupsrv-TreeDiff.o `test -f 'urbackupserver/treediff/TreeDiff.cpp' || echo './'`urbackupserver/treediff/TreeDiff.cpp urbackupserver/treediff/TreeDiff.cpp: In static member function 'static void TreeDiff::gatherDiffs(TreeNode*, TreeNode*, size_t, std::vector&, std::vector*, std::vector&, std::vector*, bool, bool)': urbackupserver/treediff/TreeDiff.cpp:78:9: warning: unused variable 'nc_2' [-Wunused-variable] size_t nc_2=t2->getNumChildren(); ^~~~ urbackupserver/treediff/TreeDiff.cpp:79:9: warning: unused variable 'nc_1' [-Wunused-variable] size_t nc_1=t1->getNumChildren(); ^~~~ urbackupserver/treediff/TreeDiff.cpp:82:7: warning: unused variable 'did_subtree_change' [-Wunused-variable] bool did_subtree_change=false; ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-usagegraph.o `test -f 'urbackupserver/serverinterface/usagegraph.cpp' || echo './'`urbackupserver/serverinterface/usagegraph.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-getimage.o `test -f 'urbackupserver/serverinterface/getimage.cpp' || echo './'`urbackupserver/serverinterface/getimage.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_channel.o `test -f 'urbackupserver/server_channel.cpp' || echo './'`urbackupserver/server_channel.cpp In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:15:7: warning: 'ServerChannelThread' has a field 'ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerChannelThread : public IThread ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_channel.cpp:25: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/server_channel.cpp:25: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_channel.cpp:25: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/server_channel.cpp:25: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:33: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:39: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/server_channel.cpp:41: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:44: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::SessionKeepaliveThread::operator()()': urbackupserver/server_channel.cpp:93:11: warning: deleting object of polymorphic class type '{anonymous}::SessionKeepaliveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::FileservClientThread::operator()()': urbackupserver/server_channel.cpp:121:11: warning: deleting object of polymorphic class type '{anonymous}::FileservClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h: In constructor 'ServerChannelThread::ServerChannelThread(ClientMain*, const string&, int, bool, bool, std::__cxx11::string, const string&, ServerChannelThread*)': urbackupserver/server_channel.h:95:14: warning: 'ServerChannelThread::clientname' will be initialized after [-Wreorder] std::string clientname; ^~~~~~~~~~ urbackupserver/server_channel.h:38:6: warning: 'int ServerChannelThread::clientid' [-Wreorder] int clientid; ^~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:101:14: warning: 'ServerChannelThread::server_token' will be initialized after [-Wreorder] std::string server_token; ^~~~~~~~~~~~ urbackupserver/server_channel.h:97:14: warning: 'std::__cxx11::string ServerChannelThread::virtual_client' [-Wreorder] std::string virtual_client; ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:97:14: warning: 'ServerChannelThread::virtual_client' will be initialized after [-Wreorder] std::string virtual_client; ^~~~~~~~~~~~~~ urbackupserver/server_channel.h:82:7: warning: 'bool ServerChannelThread::allow_shutdown' [-Wreorder] bool allow_shutdown; ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:105:23: warning: 'ServerChannelThread::parent' will be initialized after [-Wreorder] ServerChannelThread* parent; ^~~~~~ urbackupserver/server_channel.h:36:8: warning: 'int64 ServerChannelThread::next_reauth_time' [-Wreorder] int64 next_reauth_time; ^~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void ServerChannelThread::operator()()': urbackupserver/server_channel.cpp:182:10: warning: deleting object of polymorphic class type 'ServerChannelThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::run()': urbackupserver/server_channel.cpp:188:8: warning: variable 'lastpingtime' set but not used [-Wunused-but-set-variable] int64 lastpingtime=0; ^~~~~~~~~~~~ urbackupserver/server_channel.cpp: In constructor '{anonymous}::ScopedSetRestoreDone::ScopedSetRestoreDone(ServerBackupDao&, int64)': urbackupserver/server_channel.cpp:938:20: warning: '{anonymous}::ScopedSetRestoreDone::backup_dao' will be initialized after [-Wreorder] ServerBackupDao& backup_dao; ^~~~~~~~~~ urbackupserver/server_channel.cpp:937:8: warning: 'bool {anonymous}::ScopedSetRestoreDone::ok' [-Wreorder] bool ok; ^~ urbackupserver/server_channel.cpp:941:3: warning: when initialized here [-Wreorder] ScopedSetRestoreDone(ServerBackupDao& backup_dao, int64 restore_id) ^~~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::DOWNLOAD_IMAGE(str_map&)': urbackupserver/server_channel.cpp:998:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(os_file_prefix(res[0]["path"]+".mbr"), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_channel.cpp:1098:9: warning: unused variable 'currblock' [-Wunused-variable] _i64 currblock=(currpos+skip)%blocksize; ^~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::RESTORE_PERCENT(str_map)': urbackupserver/server_channel.cpp:1466:6: warning: unused variable 'detail_pc' [-Wunused-variable] int detail_pc = watoi(params["detail_pc"]); ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_channel.cpp:25: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_channel.cpp:25: urbackupserver/../urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-repair_cmd.o `test -f 'urbackupserver/apps/repair_cmd.cpp' || echo './'`urbackupserver/apps/repair_cmd.cpp In file included from urbackupserver/apps/repair_cmd.cpp:20: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_hash.o `test -f 'urbackupserver/server_hash.cpp' || echo './'`urbackupserver/server_hash.cpp In file included from urbackupserver/server_hash.h:7, from urbackupserver/server_hash.cpp:18: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/server_hash.cpp:18: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:22: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:35: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/server_hash.cpp:36: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/server_hash.cpp:36: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server_hash.cpp:36: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:144: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:145: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:68: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:166: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:18: urbackupserver/server_hash.h: In constructor 'BackupServerHash::BackupServerHash(IPipe*, int, bool, bool, bool, logid_t, bool, MaxFileId&)': urbackupserver/server_hash.h:161:7: warning: 'BackupServerHash::use_tmpfiles' will be initialized after [-Wreorder] bool use_tmpfiles; ^~~~~~~~~~~~ urbackupserver/server_hash.h:140:18: warning: 'ServerFilesDao* BackupServerHash::filesdao' [-Wreorder] ServerFilesDao* filesdao; ^~~~~~~~ urbackupserver/server_hash.cpp:57:1: warning: when initialized here [-Wreorder] BackupServerHash::BackupServerHash(IPipe *pPipe, int pClientid, bool use_snapshots, bool use_reflink, bool use_tmpfiles, logid_t logid, ^~~~~~~~~~~~~~~~ urbackupserver/server_hash.cpp: In member function 'virtual void BackupServerHash::operator()()': urbackupserver/server_hash.cpp:127:11: warning: deleting object of polymorphic class type 'BackupServerHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_hash.cpp:198:11: 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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp:252:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tf(Server->openFile(os_file_prefix(source), MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp:269:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr hashf(Server->openFile(os_file_prefix(hash_src), MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp:223:10: warning: variable 'b' set but not used [-Wunused-but-set-variable] bool b = rd.getVarInt(&fileid); ^ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::findFileAndLink(const string&, IFile*, std::__cxx11::string, const string&, _i64, const string&, bool, bool&, std::__cxx11::string&, bool&, bool&, int64&, int&, int64&, int64&, FileMetadata&, bool, ExtentIterator*)': urbackupserver/server_hash.cpp:707:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ctf_hash(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp:776:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr src(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp:804:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ctf(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::copyFile(IFile*, const string&, ExtentIterator*)': urbackupserver/server_hash.cpp:1263:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dst(openFileRetry(dest, MODE_WRITE, errstr)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_hash.cpp: In member function 'virtual bool BackupServerHash::handle_not_enough_space(const string&)': urbackupserver/server_hash.cpp:1412:21: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if(available_space<=freespace_mod) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::replaceFile(IFile*, const string&, const string&, ExtentIterator*)': urbackupserver/server_hash.cpp:1630:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dst(openFileRetry(dest, MODE_RW, errstr)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:214, from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:14: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; ^~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/server_hash.cpp:18: urbackupserver/../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 urbackupserver/server_hash.h:7, from urbackupserver/server_hash.cpp:18: urbackupserver/../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 urbackupserver/server_hash.h:12, from urbackupserver/server_hash.cpp:18: urbackupserver/dao/ServerFilesDao.h: In member function 'ServerFilesDao::SFindFileEntry BackupServerHash::findFileHash(const string&, _i64, int, BackupServerHash::SFindState&)': urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::id' may be used uninitialized in this function [-Wmaybe-uninitialized] struct SFindFileEntry ^~~~~~~~~~~~~~ urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +48)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::filesize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::next_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::prev_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::rsize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +152)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::id' may be used uninitialized in this function [-Wmaybe-uninitialized] struct SFindFileEntry ^~~~~~~~~~~~~~ urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +48)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::filesize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::next_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::prev_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::rsize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +152)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::id' may be used uninitialized in this function [-Wmaybe-uninitialized] struct SFindFileEntry ^~~~~~~~~~~~~~ urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +48)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::filesize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::next_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::prev_entry' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: 'ret.ServerFilesDao::SFindFileEntry::rsize' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/dao/ServerFilesDao.h:41:9: warning: '*((void*)& ret +152)' may be used uninitialized in this function [-Wmaybe-uninitialized] urbackupserver/server_hash.cpp:1198:2: warning: 'entryid' may be used uninitialized in this function [-Wmaybe-uninitialized] if(entryid==0) ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-patch.o `test -f 'urbackupserver/apps/patch.cpp' || echo './'`urbackupserver/apps/patch.cpp In file included from urbackupserver/apps/../ChunkPatcher.h:4, from urbackupserver/apps/patch.cpp:2: urbackupserver/apps/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/patch.cpp:4: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/patch.cpp: In function 'int patch_hash()': urbackupserver/apps/patch.cpp:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(source_file, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/patch.cpp:77:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr patch_file(Server->openFile(patch_file_fn, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/apps/patch.cpp:84: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 urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/../ChunkPatcher.h:4, from urbackupserver/apps/patch.cpp:2: urbackupserver/apps/../../Interface/File.h: At global scope: urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/lmdb/urbackupsrv-midl.o `test -f 'urbackupserver/lmdb/midl.c' || echo './'`urbackupserver/lmdb/midl.c make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/treediff/urbackupsrv-TreeReader.o `test -f 'urbackupserver/treediff/TreeReader.cpp' || echo './'`urbackupserver/treediff/TreeReader.cpp In file included from urbackupserver/treediff/TreeReader.cpp:24: urbackupserver/treediff/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/treediff/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/treediff/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/treediff/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/TreeReader.cpp: In member function 'bool TreeReader::readTree(const string&)': urbackupserver/treediff/TreeReader.cpp:156:7: warning: unused variable 'isdir' [-Wunused-variable] bool isdir=false; ^~~~~ In file included from urbackupserver/treediff/TreeReader.cpp:24: urbackupserver/treediff/../../stringtools.h: At global scope: urbackupserver/treediff/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/treediff/../../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) ^~~~~~~~~~ urbackupserver/treediff/../../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) ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/treediff/../../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) ^~~~~~~~~~~~~ urbackupserver/treediff/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-download_client.o `test -f 'urbackupserver/serverinterface/download_client.cpp' || echo './'`urbackupserver/serverinterface/download_client.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-bufmgr.o `test -f 'fileservplugin/bufmgr.cpp' || echo './'`fileservplugin/bufmgr.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-cleanup_cmd.o `test -f 'urbackupserver/apps/cleanup_cmd.cpp' || echo './'`urbackupserver/apps/cleanup_cmd.cpp In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/apps/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/apps/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/apps/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:22: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/apps/../server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/apps/../server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/apps/../server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h: At global scope: urbackupserver/apps/../server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/../../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/apps/../server.h:8, from urbackupserver/apps/cleanup_cmd.cpp:24: urbackupserver/apps/../../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/cleanup_cmd.cpp:25: urbackupserver/apps/../serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/apps/../serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/apps/../../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/apps/../server.h:8, from urbackupserver/apps/cleanup_cmd.cpp:24: urbackupserver/apps/../../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/apps/../../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) ^~~~~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:22: urbackupserver/apps/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~~~~ urbackupserver/apps/../../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 urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-dllmain.o `test -f 'urbackupserver/dllmain.cpp' || echo './'`urbackupserver/dllmain.cpp In file included from urbackupserver/dllmain.cpp:51: urbackupserver/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/dllmain.cpp:61: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:67: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:68: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:68: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/dllmain.cpp:71: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/dllmain.cpp:71: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:74: urbackupserver/server_update_stats.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:74: urbackupserver/server_update_stats.h:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:77: urbackupserver/filedownload.h:65:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_chunked; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:77: urbackupserver/filedownload.h:66:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:84: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:85: urbackupserver/server_channel.h:15:7: warning: 'ServerChannelThread' has a field 'ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerChannelThread : public IThread ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:86: urbackupserver/DataplanDb.h:29: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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:94: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/dllmain.cpp:96: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:97: urbackupserver/../urbackupcommon/WalCheckpointThread.h: At global scope: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:144: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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:145: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 urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dllmain.cpp: In function 'void LoadActions_urbackupserver(IServer*)': urbackupserver/dllmain.cpp:510:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(Server->getServerParameter("hash_file"), MODE_READ_SEQUENTIAL)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'bool upgrade35_36()': urbackupserver/dllmain.cpp:1467:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr db_file(Server->openFile("urbackup/backup_server.db", MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/dllmain.cpp:71: urbackupserver/../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 urbackupserver/dllmain.cpp:67: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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 urbackupserver/dllmain.cpp:51: urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/apps/urbackupsrv-md5sum_check.o `test -f 'urbackupserver/apps/md5sum_check.cpp' || echo './'`urbackupserver/apps/md5sum_check.cpp In file included from urbackupserver/apps/md5sum_check.cpp:2: urbackupserver/apps/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/md5sum_check.cpp:6: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/md5sum_check.cpp: In function 'int md5sum_check()': urbackupserver/apps/md5sum_check.cpp:48:8: 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 urbackupserver/apps/md5sum_check.cpp:5: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/apps/md5sum_check.cpp:6: urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/apps/../../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) ^~~~~~~~~~~~~ urbackupserver/apps/../../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 urbackupserver/apps/md5sum_check.cpp:2: urbackupserver/apps/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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:431: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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:86: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:204: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:216: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:163:7: warning: unused variable 'rc' [-Wunused-variable] _i32 rc; ^~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::DelClientThreads()': fileservplugin/CTCPFileServ.cpp:344: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-PipeFile.o `test -f 'fileservplugin/PipeFile.cpp' || echo './'`fileservplugin/PipeFile.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-logs.o `test -f 'urbackupserver/serverinterface/logs.cpp' || echo './'`urbackupserver/serverinterface/logs.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/serverinterface/logs.cpp:24: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/lmdb/urbackupsrv-mdb.o `test -f 'urbackupserver/lmdb/mdb.c' || echo './'`urbackupserver/lmdb/mdb.c urbackupserver/lmdb/mdb.c: In function 'mdb_page_dirty': urbackupserver/lmdb/mdb.c:2113:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc, (*insert)(MDB_ID2L, MDB_ID2 *); ^~ urbackupserver/lmdb/mdb.c: In function 'mdb_env_close': urbackupserver/lmdb/mdb.c:5117:12: warning: unused variable 'dp' [-Wunused-variable] MDB_page *dp; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-status.o `test -f 'urbackupserver/serverinterface/status.cpp' || echo './'`urbackupserver/serverinterface/status.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:24: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:24: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/status.cpp: In function 'bool {anonymous}::client_download(Helper&, JSON::Array&)': urbackupserver/serverinterface/status.cpp:64:8: warning: unused variable 'found' [-Wunused-variable] bool found=false; ^~~~~ urbackupserver/serverinterface/status.cpp: In function 'void {anonymous}::set_server_version_info(IDatabase*, JSON::Object&)': urbackupserver/serverinterface/status.cpp:92:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr infoProperties(Server->createFileSettingsReader("urbackup/server_version_info.properties")); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/status.cpp: In member function 'virtual void Actions::status::Execute(str_map&, str_map&, THREAD_ID, str_map&)': urbackupserver/serverinterface/status.cpp:393:13: warning: variable 'curr_status' set but not used [-Wunused-but-set-variable] SStatus *curr_status=NULL; ^~~~~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13, from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:14: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] const char* RIGHT_ALL = "all"; ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:21: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urlplugin/urbackupsrv-pluginmgr.o `test -f 'urlplugin/pluginmgr.cpp' || echo './'`urlplugin/pluginmgr.cpp In file included from urlplugin/IUrlFactory.h:6, from urlplugin/UrlFactory.h:1, from urlplugin/pluginmgr.cpp:21: urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urlplugin/../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()) ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urlplugin/urbackupsrv-dllmain.o `test -f 'urlplugin/dllmain.cpp' || echo './'`urlplugin/dllmain.cpp In file included from urlplugin/dllmain.cpp:45: urlplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urlplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urlplugin/IUrlFactory.h:6, from urlplugin/dllmain.cpp:48: urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urlplugin/../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()) ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../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 urlplugin/dllmain.cpp:45: urlplugin/../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) ^~~~~~~~~~~~~~~~ urlplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urlplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urlplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urlplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~ urlplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~~~~ urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:21: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:21: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/dao/urbackupsrv-ServerCleanupDao.o `test -f 'urbackupserver/dao/ServerCleanupDao.cpp' || echo './'`urbackupserver/dao/ServerCleanupDao.cpp In file included from urbackupserver/dao/ServerCleanupDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/dao/../../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) ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_settings.o `test -f 'urbackupserver/server_settings.cpp' || echo './'`urbackupserver/server_settings.cpp In file included from urbackupserver/server_settings.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server_settings.cpp:29: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h: In constructor 'ServerSettings::ServerSettings(IDatabase*, int)': urbackupserver/server_settings.h:274:6: warning: 'ServerSettings::clientid' will be initialized after [-Wreorder] int clientid; ^~~~~~~~ urbackupserver/server_settings.h:272:13: warning: 'IDatabase* ServerSettings::db' [-Wreorder] IDatabase* db; ^~ urbackupserver/server_settings.cpp:80:1: warning: when initialized here [-Wreorder] ServerSettings::ServerSettings(IDatabase *db, int pClientid) ^~~~~~~~~~~~~~ urbackupserver/server_settings.cpp:95:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_client, settings_default, setting_global; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_settings.cpp: At global scope: urbackupserver/server_settings.cpp:123:49: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void ServerSettings::createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_settings.cpp:124:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global) ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_settings.cpp:124:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global) ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::update(bool)': urbackupserver/server_settings.cpp:274:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_client, settings_default, settings_global; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'SLDAPSettings ServerSettings::getLDAPSettings()': urbackupserver/server_settings.cpp:1069:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_client, settings_default, settings_global; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server_settings.cpp:29: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_settings.cpp:19: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-dllmain.o `test -f 'cryptoplugin/dllmain.cpp' || echo './'`cryptoplugin/dllmain.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/ClientMain.cpp:18: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/ClientMain.h:15, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:28: urbackupserver/server_channel.h:15:7: warning: 'ServerChannelThread' has a field 'ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerChannelThread : public IThread ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:17, from urbackupserver/ClientMain.cpp:30: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:30: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:8: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] bool switched; ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:8: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] bool write_metadata; ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:3: warning: when initialized here [-Wreorder] SQueueItem() ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:10: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] size_t max_id; ^~~~~~ urbackupserver/ServerDownloadThread.h:133:8: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] bool finalized; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:3: warning: when initialized here [-Wreorder] IdRange() ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ClientMain.cpp:32: urbackupserver/server_update_stats.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:32: urbackupserver/server_update_stats.h:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:39: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': urbackupserver/../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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:43: urbackupserver/server_dir_links.h: At global scope: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileMetadataDownloadThread.h:144: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileMetadataDownloadThread.h:145: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:68: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:166: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:702:32: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool constructFileClient(std::auto_ptr& new_fc) ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:935:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:937:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient_chunked; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:938:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:939:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileclient_metadata; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:941:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:943:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_download; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:953:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:954:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:955:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h: In constructor 'BackupServerContinuous::BackupServerContinuous(ClientMain*, const string&, const string&, const string&, const string&, bool, int, const string&, int, bool, bool, IPipe*)': urbackupserver/server_continuous.h:932:6: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] int backupid; ^~~~~~~~ urbackupserver/server_continuous.h:927:7: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] bool use_snapshots; ^~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:68:2: warning: when initialized here [-Wreorder] BackupServerContinuous(ClientMain* client_main, const std::string& continuous_path, const std::string& continuous_hash_path, const std::string& continuous_path_backup, ^~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h: In member function 'virtual void BackupServerContinuous::operator()()': urbackupserver/server_continuous.h:180:10: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:652:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execMod(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:729:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:61: urbackupserver/ImageBackup.h: At global scope: urbackupserver/ImageBackup.h:88: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:64: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:65: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h: In constructor 'ClientMain::ClientMain(IPipe*, FileClient::SAddrHint, const string&, const string&, const string&, int, bool, bool, bool, bool)': urbackupserver/ClientMain.h:362:16: warning: 'ClientMain::internet_connection' will be initialized after [-Wreorder] volatile bool internet_connection; ^~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:338:32: warning: 'std::auto_ptr ClientMain::server_settings' [-Wreorder] std::auto_ptr server_settings; ^~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, ^~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:377:18: warning: 'ClientMain::client_throttler' will be initialized after [-Wreorder] IPipeThrottler *client_throttler; ^~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:368:7: warning: 'bool ClientMain::use_file_snapshots' [-Wreorder] bool use_file_snapshots; ^~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, ^~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:397:26: warning: 'ClientMain::continuous_backup' will be initialized after [-Wreorder] BackupServerContinuous* continuous_backup; ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:328:14: warning: 'std::__cxx11::string ClientMain::clientsubname' [-Wreorder] std::string clientsubname; ^~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, ^~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'virtual void ClientMain::operator()()': urbackupserver/ClientMain.cpp:219:10: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:227:10: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:257:10: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:265:11: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:272:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_server_backup_dao(new ServerBackupDao(db)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp:287:10: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:319:11: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:355:10: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:850:11: warning: unused variable 'running_jobs' [-Wunused-variable] size_t running_jobs=0; ^~~~~~~~~~~~ urbackupserver/ClientMain.cpp:1055:9: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/ClientMain.cpp:452:7: warning: variable 'do_exit_now' set but not used [-Wunused-but-set-variable] bool do_exit_now=false; ^~~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'std::__cxx11::string ClientMain::sendClientMessage(const string&, const string&, unsigned int, bool, int, ClientMain::SConnection*)': urbackupserver/ClientMain.cpp:1271:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp:1301:7: warning: unused variable 'ok' [-Wunused-variable] bool ok=false; ^~ urbackupserver/ClientMain.cpp:1302:7: warning: unused variable 'herr' [-Wunused-variable] bool herr=false; ^~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::sendClientMessage(const string&, const string&, const string&, unsigned int, bool, int, bool*, std::__cxx11::string*, ClientMain::SConnection*)': urbackupserver/ClientMain.cpp:1374:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::sendSettings()': urbackupserver/ClientMain.cpp:1754:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_client, settings_default, settings_global; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp:1764:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr origSettings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::getClientSettings(bool&)': urbackupserver/ClientMain.cpp:1887:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sr(Server->createFileSettingsReader(tmp_fn)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::checkClientVersion()': urbackupserver/ClientMain.cpp:2103:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sigfile(Server->openFile(signature_file, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp:2109:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr updatefile(Server->openFile(installer_file, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp:2118:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cc(getClientCommandConnection(server_settings.get(), 10000)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp: At global scope: urbackupserver/ClientMain.cpp:2591:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool ClientMain::getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:124, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7, from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'virtual bool ClientMain::handle_not_enough_space(const string&, logid_t)': urbackupserver/ClientMain.cpp:2759:33: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if(free_space!=-1 && free_spaceSize()) ~~~^~~~~~~~~~~ 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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:209:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] std::vector* extra_buffer; ^~~~~~~~~~~~ fileservplugin/CClientThread.h:204: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:209:21: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] std::vector* extra_buffer; ^~~~~~~~~~~~ fileservplugin/CClientThread.h:204:7: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] bool waiting_for_chunk; ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:140: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:1226: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:1121: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:1824: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:1976: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:2196: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:2196: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:2350:8: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2366: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:2601: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:2855:8: warning: unused variable 'last_sparse_pos' [-Wunused-variable] int64 last_sparse_pos = 0; ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2856: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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:142: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:28: fileservplugin/PipeFileExt.h:21: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:341: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:492: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o luaplugin/urbackupsrv-dllmain.o `test -f 'luaplugin/dllmain.cpp' || echo './'`luaplugin/dllmain.cpp In file included from luaplugin/dllmain.cpp:47: luaplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': luaplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../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) ^~~~~~~~~~~~~~~~ luaplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ luaplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ luaplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ luaplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~ luaplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~~~~ luaplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-ZlibCompression.o `test -f 'cryptoplugin/ZlibCompression.cpp' || echo './'`cryptoplugin/ZlibCompression.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-ZlibDecompression.o `test -f 'cryptoplugin/ZlibDecompression.cpp' || echo './'`cryptoplugin/ZlibDecompression.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o luaplugin/urbackupsrv-pluginmgr.o `test -f 'luaplugin/pluginmgr.cpp' || echo './'`luaplugin/pluginmgr.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fileservplugin/urbackupsrv-PipeFileTar.o `test -f 'fileservplugin/PipeFileTar.cpp' || echo './'`fileservplugin/PipeFileTar.cpp In file included from fileservplugin/PipeFileTar.cpp:1: fileservplugin/CClientThread.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #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/CClientThread.h:25, from fileservplugin/PipeFileTar.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/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:142: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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:144:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] PipeFileStore* pipe_file; ^~~~~~~~~ fileservplugin/PipeFileTar.h:135: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:152:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] std::string output_fn; ^~~~~~~~~ fileservplugin/PipeFileTar.h:147: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:155:14: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] std::string identity; ^~~~~~~~ fileservplugin/PipeFileTar.h:140: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:144:17: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] PipeFileStore* pipe_file; ^~~~~~~~~ fileservplugin/PipeFileTar.h:137: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:137:11: warning: 'PipeFileTar::tar_file' will be initialized after [-Wreorder] STarFile tar_file; ^~~~~~~~ fileservplugin/PipeFileTar.h:135: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:152:14: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] std::string output_fn; ^~~~~~~~~ fileservplugin/PipeFileTar.h:147: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:155:14: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] std::string identity; ^~~~~~~~ fileservplugin/PipeFileTar.h:140: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:221: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:368: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 ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-AESEncryption.o `test -f 'cryptoplugin/AESEncryption.cpp' || echo './'`cryptoplugin/AESEncryption.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fuseplugin/urbackupsrv-dllmain.o `test -f 'fuseplugin/dllmain.cpp' || echo './'`fuseplugin/dllmain.cpp In file included from fuseplugin/dllmain.cpp:48: fuseplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fuseplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fuseplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fuseplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/dllmain.cpp: In function 'int {anonymous}::vhdfile_read(const char*, char*, size_t, off_t, fuse_file_info*)': fuseplugin/dllmain.cpp:116:10: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ In file included from fuseplugin/dllmain.cpp:48: fuseplugin/../stringtools.h: At global scope: fuseplugin/../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) ^~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ fuseplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ fuseplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ fuseplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ fuseplugin/../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) ^~~~~~~~~~ fuseplugin/../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) ^~~~~~~~~~ fuseplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ fuseplugin/../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) ^~~~~~~~~~~~~ fuseplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o luaplugin/urbackupsrv-LuaInterpreter.o `test -f 'luaplugin/LuaInterpreter.cpp' || echo './'`luaplugin/LuaInterpreter.cpp In file included from luaplugin/LuaInterpreter.cpp:12: luaplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': luaplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../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) ^~~~~~~~~~~~~~~~ luaplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ luaplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ luaplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ luaplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~ luaplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ luaplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ luaplugin/../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) ^~~~~~~~~~~~~ luaplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urlplugin/urbackupsrv-UrlFactory.o `test -f 'urlplugin/UrlFactory.cpp' || echo './'`urlplugin/UrlFactory.cpp In file included from urlplugin/IUrlFactory.h:6, from urlplugin/UrlFactory.h:1, from urlplugin/UrlFactory.cpp:19: urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urlplugin/../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 urlplugin/UrlFactory.cpp:24: urlplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urlplugin/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: At global scope: urlplugin/../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) ^~~~~~~~~~~~~~~~ urlplugin/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urlplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ urlplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urlplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~ urlplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urlplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urlplugin/../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) ^~~~~~~~~~~~~ urlplugin/../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 urlplugin/IUrlFactory.h:6, from urlplugin/UrlFactory.h:1, from urlplugin/UrlFactory.cpp:19: urlplugin/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-server_cleanup.o `test -f 'urbackupserver/server_cleanup.cpp' || echo './'`urbackupserver/server_cleanup.cpp In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_cleanup.h:13, from urbackupserver/server_cleanup.cpp:21: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:30: urbackupserver/server_update_stats.h:68:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:30: urbackupserver/server_update_stats.h:69:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:32: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:32: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:40: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:44: urbackupserver/../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 urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'virtual void ServerCleanupThread::operator()()': urbackupserver/server_cleanup.cpp:101:9: warning: enumeration value 'ECleanupAction_None' not handled in switch [-Wswitch] switch(cleanup_action.action) ^ urbackupserver/server_cleanup.cpp:142:10: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_cleanup.cpp:157:11: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_cleanup.cpp:278:12: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_cleanup.cpp:390:9: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ urbackupserver/server_cleanup.cpp: In function 'bool {anonymous}::copy_db_file(std::__cxx11::string, std::__cxx11::string, IDatabase::IBackupProgress*, std::__cxx11::string&, bool)': urbackupserver/server_cleanup.cpp:1714:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dst_file(Server->openFile(os_file_prefix(dst), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'void ServerCleanupThread::removeFileBackupSql(int)': urbackupserver/server_cleanup.cpp:2576:9: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ urbackupserver/server_cleanup.cpp:2589:9: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ urbackupserver/server_cleanup.cpp:2602:9: warning: unused variable 'abc' [-Wunused-variable] int abc = 5; ^~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urlplugin/../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 urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_cleanup.h:13, from urbackupserver/server_cleanup.cpp:21: urbackupserver/../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) ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/../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) ^~~~~~~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'bool ServerCleanupThread::removeImage(int, ServerSettings*, bool, bool, bool, bool, int)': urbackupserver/server_cleanup.cpp:1167:35: warning: 'stat_id' may be used uninitialized in this function [-Wmaybe-uninitialized] cleanupdao->updateDelImageStats(stat_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-ECDHKeyExchange.o `test -f 'cryptoplugin/ECDHKeyExchange.cpp' || echo './'`cryptoplugin/ECDHKeyExchange.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mount_helper/urbackup_mount_helper-main.o `test -f 'mount_helper/main.cpp' || echo './'`mount_helper/main.cpp In file included from mount_helper/main.cpp:4: mount_helper/../stringtools.h: In function 'float {anonymous}::little_endian(float)': mount_helper/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': mount_helper/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': mount_helper/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h: At global scope: mount_helper/../Server.h:48: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 mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:49: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 mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:50: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 mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:51: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 mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ mount_helper/main.cpp: In function 'bool mount_linux_loop(const string&, int, int64, int64)': mount_helper/main.cpp:312:6: warning: unused variable 'last_loopd' [-Wunused-variable] int last_loopd=-1; ^~~~~~~~~~ In file included from mount_helper/../LookupService.h:2, from mount_helper/../Server.h:15, from mount_helper/main.cpp:22: mount_helper/../socket_header.h: At global scope: mount_helper/../socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ In file included from mount_helper/main.cpp:4: mount_helper/../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) ^~~~~~~~~~~~~~~~ mount_helper/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ mount_helper/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ mount_helper/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ mount_helper/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ mount_helper/../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) ^~~~~~~~~~ mount_helper/../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) ^~~~~~~~~~ mount_helper/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ mount_helper/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ mount_helper/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ mount_helper/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ mount_helper/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ mount_helper/../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) ^~~~~~~~~~~~~ mount_helper/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackup_mount_helper mount_helper/urbackup_mount_helper-main.o urbackupcommon/urbackup_mount_helper-os_functions_lin_min.o urbackup_mount_helper-stringtools.o -llmdb -lz -llmdb make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-settings.o `test -f 'urbackupserver/serverinterface/settings.cpp' || echo './'`urbackupserver/serverinterface/settings.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:15, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/settings.cpp: In function 'void {anonymous}::getGeneralSettings(JSON::Object&, IDatabase*, ServerSettings&)': urbackupserver/serverinterface/settings.cpp:219:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/serverinterface/urbackupsrv-backups.o `test -f 'urbackupserver/serverinterface/backups.cpp' || echo './'`urbackupserver/serverinterface/backups.cpp In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:9: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] double pc_done; ^~~~~~~ urbackupserver/serverinterface/helper.h:87:6: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] int curr_db_version; ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:2: warning: when initialized here [-Wreorder] SStartupStatus(void) ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:22: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:23: urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const string&)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:33: urbackupserver/serverinterface/../../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:84:9: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] int64 blocksize; ^~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:82:20: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] volatile size_t* snapshot_sequence_id; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:68:3: warning: when initialized here [-Wreorder] CbtHashFileInfo(IFile* cbt_hash_file, ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:34: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/serverinterface/../server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:34: urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/serverinterface/backups.cpp:37: urbackupserver/serverinterface/../server_dir_links.h: At global scope: urbackupserver/serverinterface/../server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/serverinterface/../server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h: At global scope: urbackupserver/serverinterface/../server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'backupaccess::STokens backupaccess::readTokens(const string&, const string&, const string&)': urbackupserver/serverinterface/backups.cpp:387:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backup_tokens(Server->createFileSettingsReader(backupfolder+os_file_sep()+clientname+os_file_sep()+path+os_file_sep()+".hashes"+os_file_sep()+".urbackup_tokens.properties")); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'bool backupaccess::get_files_with_tokens(IDatabase*, int*, int, std::__cxx11::string, std::__cxx11::string*, const string&, int, JSON::Object&)': urbackupserver/serverinterface/backups.cpp:832:11: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'JSON::Object backupaccess::get_image_info(IDatabase*, int, int, int, std::__cxx11::string&, std::vector&)': urbackupserver/serverinterface/backups.cpp:963:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr mbrfile(Server->openFile(os_file_prefix(path + ".mbr"), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/serverinterface/backups.cpp:974:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] if (mbrdata.size() == mbrfile->Size()) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/backups.cpp:996:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr vhdfile; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:23: urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:192:7: warning: 'bool {anonymous}::is_disk_mbr(const string&)' defined but not used [-Wunused-function] bool is_disk_mbr(const std::string& mbrfn) ^~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/rights.h:10:14: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] const char* RIGHT_REPORT_SCRIPT = "report_script"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:14: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:14: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:14: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] const char* RIGHT_SETTINGS="settings"; ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/../../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -c -o snapshot_helper/urbackup_snapshot_helper-main.o `test -f 'snapshot_helper/main.cpp' || echo './'`snapshot_helper/main.cpp In file included from snapshot_helper/main.cpp:5: snapshot_helper/../stringtools.h: In function 'float {anonymous}::little_endian(float)': snapshot_helper/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': snapshot_helper/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': snapshot_helper/../stringtools.h:298:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h: At global scope: snapshot_helper/../Server.h:48: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 snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:49: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 snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:50: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 snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:51: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 snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from snapshot_helper/../LookupService.h:2, from snapshot_helper/../Server.h:15, from snapshot_helper/main.cpp:20: snapshot_helper/../socket_header.h:59:6: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) ^~~~~~~~~~ In file included from snapshot_helper/main.cpp:5: snapshot_helper/../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) ^~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] float big_endian(float x) ^~~~~~~~~~ snapshot_helper/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] int64 big_endian(int64 x) ^~~~~~~~~~ snapshot_helper/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] uint64 big_endian(uint64 x) ^~~~~~~~~~ snapshot_helper/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] int big_endian(int x) ^~~~~~~~~~ snapshot_helper/../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) ^~~~~~~~~~ snapshot_helper/../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) ^~~~~~~~~~ snapshot_helper/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] double little_endian(double x) ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] float little_endian(float x) ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] int64 little_endian(int64 x) ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] uint64 little_endian(uint64 x) ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] int little_endian(int x) ^~~~~~~~~~~~~ snapshot_helper/../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) ^~~~~~~~~~~~~ snapshot_helper/../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-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackup_snapshot_helper snapshot_helper/urbackup_snapshot_helper-main.o urbackupcommon/urbackup_snapshot_helper-os_functions_lin_min.o urbackup_snapshot_helper-stringtools.o -llmdb -lz -llmdb make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o urbackupserver/urbackupsrv-IncrFileBackup.o `test -f 'urbackupserver/IncrFileBackup.cpp' || echo './'`urbackupserver/IncrFileBackup.cpp In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::__cxx11::string)': urbackupserver/server_status.h:82:8: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] int64 done_bytes; ^~~~~~~~~~ urbackupserver/server_status.h:76:6: warning: 'int SProcess::detail_pc' [-Wreorder] int detail_pc; ^~~~~~~~~ urbackupserver/server_status.h:56:2: warning: when initialized here [-Wreorder] SProcess(size_t id, SStatusAction action, std::string details) ^~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:272:10: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete at; ^~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h:165:2: warning: when initialized here [-Wreorder] STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:171:8: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] float stop_hour; ^~~~~~~~~ urbackupserver/server_settings.h:169:6: warning: 'int STimeSpan::numdays' [-Wreorder] int numdays; ^~~~~~~ urbackupserver/server_settings.h:166:2: warning: when initialized here [-Wreorder] STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:239:34: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void createSettingsReaders(std::auto_ptr& settings_default, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h:240:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h:240:57: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& settings_client, std::auto_ptr& settings_global); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::__cxx11::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:8, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:210:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/FileBackup.h:10, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:7: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] bool exist; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:7: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] bool has_orig_path; ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:2: warning: when initialized here [-Wreorder] FileMetadata() ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::__cxx11::string, int64, int64, int64, std::__cxx11::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:14: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] std::string orig_path; ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:8: warning: 'int64 FileMetadata::rsize' [-Wreorder] int64 rsize; ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:2: warning: when initialized here [-Wreorder] FileMetadata(std::string file_permissions, int64 last_modified, ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:144: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:145: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] class FileMetadataDownloadThread : public IThread ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:68: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:166: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 urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:273:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:274:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr local_hash2; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:283:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_download_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:291:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr metadata_apply_thread; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:301:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr phash_load; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:6: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] int update_capa_interval; ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:6: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] int require_previous_cbitmap; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:2: warning: when initialized here [-Wreorder] SProtocolVersions() : ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr conn; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:187:46: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:338:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_settings; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:417:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr restore_mutex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:25: urbackupserver/server_dir_links.h:23:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr& synchronous_link_dao, bool with_transaction=true); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:8: warning: 'CleanupAction::result' will be initialized after [-Wreorder] bool *result; ^~~~~~ urbackupserver/server_cleanup.h:69:7: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] bool cleanup_other; ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:2: warning: when initialized here [-Wreorder] CleanupAction(int64 minspace, bool *result, bool cleanup_other) ^~~~~~~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr cleanupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:211:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr backupdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:212:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr filesdao; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:213:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fileindex; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:28: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:8: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] bool switched; ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:8: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] bool write_metadata; ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:3: warning: when initialized here [-Wreorder] SQueueItem() ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:10: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] size_t max_id; ^~~~~~ urbackupserver/ServerDownloadThread.h:133:8: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] bool finalized; ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:3: warning: when initialized here [-Wreorder] IdRange() ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:142:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/IncrFileBackup.cpp: In member function 'virtual bool IncrFileBackup::doFileBackup()': urbackupserver/IncrFileBackup.cpp:173:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr fc_chunked; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:315:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:504:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr server_download(new ServerDownloadThread(fc, fc_chunked.get(), backuppath, ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:799:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr link_dao_synchronous; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1147:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1454:10: warning: unused variable 'output_offset' [-Wunused-variable] size_t output_offset=0; ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp:1634:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1741:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr sync_f; ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1787:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tf(Server->openTemporaryFile()); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:531:7: warning: unused variable 'filelist_size' [-Wunused-variable] _i64 filelist_size=tmp_filelist->Size(); ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'bool IncrFileBackup::deleteFilesInSnapshot(std::__cxx11::string, const std::vector&, std::__cxx11::string, bool, bool, std::vector*)': urbackupserver/IncrFileBackup.cpp:1881:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tmp(Server->openFile(clientlist_fn, MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1983:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr tf(Server->openFile(os_file_prefix(curr_fn), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'void IncrFileBackup::addSparseFileEntry(std::__cxx11::string, SFile&, int, int, std::__cxx11::string, size_t&)': urbackupserver/IncrFileBackup.cpp:2103:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr last_file(Server->openFile(os_file_prefix(backuppath+local_curr_os_path), MODE_READ)); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_settings.h:20:14: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] const char* incr_image_style_to_last = "to-last"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:14: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] const char* incr_image_style_to_full = "to-full"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:14: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] const char* full_image_style_synthetic = "synthetic"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:14: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] const char* full_image_style_full = "full"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:14: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] const char* image_file_format_cowraw = "cowraw"; ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:14: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] const char* image_file_format_vhdz = "vhdz"; ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:14: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] const char* image_file_format_vhd = "vhd"; ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:14: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] const char* image_file_format_default = "default"; ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'virtual bool IncrFileBackup::doFileBackup()': urbackupserver/IncrFileBackup.cpp:1030:36: warning: 'changelevel' may be used uninitialized in this function [-Wmaybe-uninitialized] if(indirchange==true && depth==changelevel) ~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cryptoplugin/urbackupsrv-CryptoFactory.o `test -f 'cryptoplugin/CryptoFactory.cpp' || echo './'`cryptoplugin/CryptoFactory.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -c -o luaplugin/src/urbackupsrv-all.o `test -f 'luaplugin/src/all.c' || echo './'`luaplugin/src/all.c make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' x86_64-alt-linux-g++ -pthread -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackupsrv urbackupsrv-AcceptThread.o urbackupsrv-Client.o urbackupsrv-Database.o urbackupsrv-Query.o urbackupsrv-SelectThread.o urbackupsrv-Server.o urbackupsrv-ServerLinux.o urbackupsrv-ServiceAcceptor.o urbackupsrv-ServiceWorker.o urbackupsrv-SessionMgr.o urbackupsrv-StreamPipe.o urbackupsrv-Template.o urbackupsrv-WorkerThread.o urbackupsrv-main.o urbackupsrv-md5.o urbackupsrv-stringtools.o libfastcgi/urbackupsrv-fastcgi.o urbackupsrv-Mutex_lin.o urbackupsrv-LoadbalancerClient.o urbackupsrv-DBSettingsReader.o urbackupsrv-file_common.o urbackupsrv-file_fstream.o urbackupsrv-file_linux.o urbackupsrv-FileSettingsReader.o urbackupsrv-LookupService.o urbackupsrv-SettingsReader.o urbackupsrv-Table.o urbackupsrv-OutputStream.o urbackupsrv-ThreadPool.o urbackupsrv-MemoryPipe.o urbackupsrv-Condition_lin.o urbackupsrv-MemorySettingsReader.o sqlite/urbackupsrv-shell.o urbackupsrv-SQLiteFactory.o urbackupsrv-PipeThrottler.o urbackupsrv-mt19937ar.o urbackupsrv-DatabaseCursor.o urbackupsrv-SharedMutex_lin.o urbackupsrv-StaticPluginRegistration.o common/urbackupsrv-data.o common/urbackupsrv-adler32.o common/urbackupsrv-miniz.o fsimageplugin/urbackupsrv-dllmain.o fsimageplugin/urbackupsrv-filesystem.o fsimageplugin/urbackupsrv-FSImageFactory.o fsimageplugin/urbackupsrv-pluginmgr.o fsimageplugin/urbackupsrv-vhdfile.o fsimageplugin/fs/urbackupsrv-ntfs.o fsimageplugin/fs/urbackupsrv-unknown.o fsimageplugin/urbackupsrv-CompressedFile.o fsimageplugin/urbackupsrv-LRUMemCache.o fsimageplugin/urbackupsrv-cowfile.o fsimageplugin/urbackupsrv-FileWrapper.o fsimageplugin/urbackupsrv-ClientBitmap.o urbackupcommon/urbackupsrv-os_functions_lin.o urbackupcommon/sha2/urbackupsrv-sha2.o urbackupcommon/fileclient/urbackupsrv-FileClient.o urbackupcommon/fileclient/urbackupsrv-tcpstack.o urbackupcommon/urbackupsrv-escape.o urbackupcommon/urbackupsrv-bufmgr.o urbackupcommon/urbackupsrv-json.o urbackupcommon/urbackupsrv-CompressedPipe.o urbackupcommon/urbackupsrv-InternetServicePipe2.o urbackupcommon/urbackupsrv-settingslist.o urbackupcommon/fileclient/urbackupsrv-FileClientChunked.o urbackupcommon/urbackupsrv-InternetServicePipe.o urbackupcommon/urbackupsrv-filelist_utils.o urbackupcommon/urbackupsrv-file_metadata.o urbackupcommon/urbackupsrv-glob.o urbackupcommon/urbackupsrv-chunk_hasher.o urbackupcommon/urbackupsrv-CompressedPipe2.o urbackupcommon/urbackupsrv-SparseFile.o urbackupcommon/urbackupsrv-ExtentIterator.o urbackupcommon/urbackupsrv-TreeHash.o urbackupcommon/urbackupsrv-CompressedPipeZstd.o httpserver/urbackupsrv-dllmain.o httpserver/urbackupsrv-IndexFiles.o httpserver/urbackupsrv-HTTPAction.o httpserver/urbackupsrv-HTTPFile.o httpserver/urbackupsrv-HTTPService.o httpserver/urbackupsrv-HTTPClient.o httpserver/urbackupsrv-HTTPProxy.o httpserver/urbackupsrv-MIMEType.o urbackupserver/urbackupsrv-dllmain.o urbackupserver/urbackupsrv-server.o urbackupserver/urbackupsrv-ClientMain.o urbackupserver/urbackupsrv-server_hash.o urbackupserver/urbackupsrv-server_prepare_hash.o urbackupserver/urbackupsrv-server_update.o urbackupserver/urbackupsrv-server_status.o urbackupserver/urbackupsrv-server_channel.o urbackupserver/urbackupsrv-server_ping.o urbackupserver/urbackupsrv-server_log.o urbackupserver/urbackupsrv-server_writer.o urbackupserver/urbackupsrv-server_running.o urbackupserver/urbackupsrv-server_cleanup.o urbackupserver/urbackupsrv-server_settings.o urbackupserver/urbackupsrv-server_update_stats.o urbackupserver/serverinterface/urbackupsrv-helper.o urbackupserver/serverinterface/urbackupsrv-lastacts.o urbackupserver/serverinterface/urbackupsrv-login.o urbackupserver/serverinterface/urbackupsrv-progress.o urbackupserver/serverinterface/urbackupsrv-salt.o urbackupserver/serverinterface/urbackupsrv-users.o urbackupserver/serverinterface/urbackupsrv-piegraph.o urbackupserver/serverinterface/urbackupsrv-usage.o urbackupserver/serverinterface/urbackupsrv-usagegraph.o urbackupserver/serverinterface/urbackupsrv-status.o urbackupserver/serverinterface/urbackupsrv-settings.o urbackupserver/serverinterface/urbackupsrv-backups.o urbackupserver/serverinterface/urbackupsrv-logs.o urbackupserver/serverinterface/urbackupsrv-getimage.o urbackupserver/serverinterface/urbackupsrv-download_client.o urbackupserver/treediff/urbackupsrv-TreeDiff.o urbackupserver/treediff/urbackupsrv-TreeNode.o urbackupserver/treediff/urbackupsrv-TreeReader.o urbackupserver/urbackupsrv-ChunkPatcher.o urbackupserver/urbackupsrv-InternetServiceConnector.o urbackupserver/urbackupsrv-server_archive.o urbackupserver/urbackupsrv-filedownload.o urbackupserver/serverinterface/urbackupsrv-shutdown.o urbackupserver/urbackupsrv-snapshot_helper.o urbackupserver/urbackupsrv-verify_hashes.o urbackupserver/apps/urbackupsrv-cleanup_cmd.o urbackupserver/apps/urbackupsrv-repair_cmd.o urbackupserver/apps/urbackupsrv-md5sum_check.o urbackupserver/apps/urbackupsrv-patch.o urbackupserver/dao/urbackupsrv-ServerCleanupDao.o urbackupserver/lmdb/urbackupsrv-mdb.o urbackupserver/lmdb/urbackupsrv-midl.o urbackupserver/urbackupsrv-LMDBFileIndex.o urbackupserver/urbackupsrv-FileIndex.o urbackupserver/urbackupsrv-create_files_index.o urbackupserver/serverinterface/urbackupsrv-livelog.o urbackupserver/serverinterface/urbackupsrv-start_backup.o urbackupserver/serverinterface/urbackupsrv-create_zip.o urbackupserver/urbackupsrv-server_dir_links.o urbackupserver/dao/urbackupsrv-ServerBackupDao.o urbackupserver/apps/urbackupsrv-export_auth_log.o urbackupserver/apps/urbackupsrv-check_files_index.o urbackupserver/urbackupsrv-ServerDownloadThread.o urbackupserver/urbackupsrv-Backup.o urbackupserver/urbackupsrv-ImageBackup.o urbackupserver/urbackupsrv-FileBackup.o urbackupserver/urbackupsrv-IncrFileBackup.o urbackupserver/urbackupsrv-FullFileBackup.o urbackupserver/urbackupsrv-ContinuousBackup.o urbackupserver/urbackupsrv-ThrottleUpdater.o urbackupserver/urbackupsrv-FileMetadataDownloadThread.o urbackupserver/urbackupsrv-restore_client.o urbackupcommon/urbackupsrv-WalCheckpointThread.o urbackupserver/apps/urbackupsrv-skiphash_copy.o urbackupserver/urbackupsrv-cmdline_preprocessor.o urbackupserver/dao/urbackupsrv-ServerFilesDao.o urbackupserver/dao/urbackupsrv-ServerLinkDao.o urbackupserver/dao/urbackupsrv-ServerLinkJournalDao.o urbackupserver/serverinterface/urbackupsrv-add_client.o urbackupserver/serverinterface/urbackupsrv-restore_prepare_wait.o urbackupserver/urbackupsrv-copy_storage.o urbackupserver/urbackupsrv-ImageMount.o urbackupserver/urbackupsrv-DataplanDb.o urbackupserver/urbackupsrv-PhashLoad.o urbackupserver/serverinterface/urbackupsrv-scripts.o urbackupserver/urbackupsrv-Alerts.o urbackupserver/urbackupsrv-Mailer.o urbackupserver/urbackupsrv-LogReport.o urbackupserver/serverinterface/urbackupsrv-status_check.o urbackupserver/apps/urbackupsrv-blockalign.o fileservplugin/urbackupsrv-dllmain.o fileservplugin/urbackupsrv-bufmgr.o fileservplugin/urbackupsrv-CClientThread.o fileservplugin/urbackupsrv-CriticalSection.o fileservplugin/urbackupsrv-CTCPFileServ.o fileservplugin/urbackupsrv-CUDPThread.o fileservplugin/urbackupsrv-FileServ.o fileservplugin/urbackupsrv-FileServFactory.o fileservplugin/urbackupsrv-log.o fileservplugin/urbackupsrv-main.o fileservplugin/urbackupsrv-map_buffer.o fileservplugin/urbackupsrv-pluginmgr.o fileservplugin/urbackupsrv-ChunkSendThread.o fileservplugin/urbackupsrv-PipeFile.o fileservplugin/urbackupsrv-PipeSessions.o fileservplugin/urbackupsrv-PipeFileUnix.o fileservplugin/urbackupsrv-PipeFileBase.o fileservplugin/urbackupsrv-FileMetadataPipe.o fileservplugin/urbackupsrv-PipeFileTar.o fileservplugin/urbackupsrv-PipeFileExt.o urlplugin/urbackupsrv-dllmain.o urlplugin/urbackupsrv-pluginmgr.o urlplugin/urbackupsrv-UrlFactory.o cryptoplugin/urbackupsrv-dllmain.o cryptoplugin/urbackupsrv-AESDecryption.o cryptoplugin/urbackupsrv-CryptoFactory.o cryptoplugin/urbackupsrv-pluginmgr.o cryptoplugin/urbackupsrv-AESEncryption.o cryptoplugin/urbackupsrv-ZlibCompression.o cryptoplugin/urbackupsrv-ZlibDecompression.o cryptoplugin/urbackupsrv-AESGCMDecryption.o cryptoplugin/urbackupsrv-AESGCMEncryption.o cryptoplugin/urbackupsrv-ECDHKeyExchange.o luaplugin/urbackupsrv-dllmain.o luaplugin/urbackupsrv-LuaInterpreter.o luaplugin/urbackupsrv-pluginmgr.o fuseplugin/urbackupsrv-dllmain.o -lcurl -ldl -lfuse -pthread cryptoplugin/src/.libs/libcryptopp.a -llua-5.3 -ldl -lzstd -llmdb -L/usr/lib -lsqlite3 -llmdb -lz -llmdb make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.30927 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/urbackup-server-buildroot + : + /bin/rm -rf -- /usr/src/tmp/urbackup-server-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd urbackup-server-2.4.13 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/urbackup-server-buildroot make: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' Making install in cryptoplugin/src make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13/cryptoplugin/src' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' /bin/mkdir -p '/usr/src/tmp/urbackup-server-buildroot/usr/bin' /usr/libexec/rpm-build/install -p urbackupsrv urbackup_snapshot_helper urbackup_mount_helper '/usr/src/tmp/urbackup-server-buildroot/usr/bin' mkdir -p "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" test "x/usr/src/tmp/urbackup-server-buildroot/usr/sbin" = "x/usr/src/tmp/urbackup-server-buildroot/usr/bin" || ! test -e /usr/src/tmp/urbackup-server-buildroot/usr/sbin/urbackupsrv || rm /usr/src/tmp/urbackup-server-buildroot/usr/sbin/urbackupsrv make install-exec-hook make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' chmod +s /usr/src/tmp/urbackup-server-buildroot/usr/bin/urbackup_snapshot_helper chmod +s /usr/src/tmp/urbackup-server-buildroot/usr/bin/urbackup_mount_helper make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" chmod +x "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" /usr/libexec/rpm-build/install -p -m 644 ./urbackup/dataplan_db.txt "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup/dataplan_db.txt" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup" chmod +x "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/css" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base/worker" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages/src" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/editor" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/fonts" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/swf" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/*.js "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/*.js "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/base/worker/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base/worker/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/basic-languages/src/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages/src/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/editor/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/editor/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/*.htm "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/*.ico "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/css/*.css "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/css/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/images/*.png "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/images/*.gif "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/swf/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/swf/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/fonts/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/fonts/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/urbackup_ecdsa409k1.pub "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/urbackup_ecdsa409k1.pub" /usr/libexec/rpm-build/install -p -m 644 ./server-license.txt "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/server-license.txt" make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.4.13' + mkdir -p /usr/src/tmp/urbackup-server-buildroot/lib/systemd/system /usr/src/tmp/urbackup-server-buildroot/usr/share/man/man1 /usr/src/tmp/urbackup-server-buildroot/etc/logrotate.d /usr/src/tmp/urbackup-server-buildroot/var/log /usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup + mkdir -p /usr/src/tmp/urbackup-server-buildroot/etc/sysconfig + mkdir -p /usr/src/tmp/urbackup-server-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/lib/firewalld/services + install -m 644 defaults_server /usr/src/tmp/urbackup-server-buildroot/etc/sysconfig/urbackup-server + install -m 640 urbackup-server-firewalld.xml /usr/src/tmp/urbackup-server-buildroot/usr/lib/firewalld/services/urbackup-server.xml + install -m 644 urbackup-server.service /usr/src/tmp/urbackup-server-buildroot/lib/systemd/system/urbackup-server.service + install -m 644 docs/urbackupsrv.1 /usr/src/tmp/urbackup-server-buildroot/usr/share/man/man1/urbackup-server.1 + install -m 644 logrotate_urbackupsrv /usr/src/tmp/urbackup-server-buildroot/etc/logrotate.d/urbackup-server + touch /usr/src/tmp/urbackup-server-buildroot/var/log/urbackup.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/urbackup-server-buildroot (auto) mode of 'usr/share/urbackup/www' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/swf' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/images' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/fonts' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/editor' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/basic-languages' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/basic-languages/src' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/base' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/base/worker' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/css' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of './usr/bin/urbackup_mount_helper' changed from 6755 (rwsr-sr-x) to 6711 (rws--s--x) mode of './usr/bin/urbackup_snapshot_helper' changed from 6755 (rwsr-sr-x) to 6711 (rws--s--x) Verifying and fixing files in /usr/src/tmp/urbackup-server-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/urbackup-server-buildroot/ (default) Compressing files in /usr/src/tmp/urbackup-server-buildroot (auto) Adjusting library links in /usr/src/tmp/urbackup-server-buildroot ./lib: ./var/lib: ./usr/lib: Verifying ELF objects in /usr/src/tmp/urbackup-server-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-server-2.4.13-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.73739 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.4.13 + DOCDIR=/usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + /bin/mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + chmod -R go-w /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + chmod -R a+rX /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.4.13 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4ojKwB find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.58EipF find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oKCxHM Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HNcQpX Requires: guestfs-tools, urbackup-common = 2.4.13-alt3, /etc/logrotate.d, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.16)(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), libcurl.so.4()(64bit) >= set:kgZtdjewuBSO0LLEPIqxL17, libdl.so.2(GLIBC_2.2.5)(64bit), libfuse.so.2()(64bit) >= set:lhHU7azOPJkVL9DpvhqU7Oy7, libfuse.so.2(FUSE_2.2)(64bit), libfuse.so.2(FUSE_2.5)(64bit), libfuse.so.2(FUSE_2.6)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), liblua-5.3.so()(64bit) >= set:lf0Qi9BTUIhAmq0vkbp8cdTer09y9cDNMnF1fskRYGVlFzAsCDMKvJtSZ5Su49wqTCihuVVBO2YLo9ndVEbAM8jZ7GXkbYTwfHcaUthZ7zL2, 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, libzstd.so.1()(64bit) >= set:lhqiscbIfmyN2IQ6Khw8nEP9id8, rtld(GNU_HASH) 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.iuD9Pb Creating urbackup-server-debuginfo package Processing files: urbackup-common-2.4.13-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h3PiGt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UKlyWO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.N2ozCd find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd useradd Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0UFwIF Processing files: urbackup-server-debuginfo-2.4.13-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HiLNlc find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0hBRsM find-requires: running scripts (debuginfo) Requires: urbackup-server = 2.4.13-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcurl.so.4), debug64(libdl.so.2), debug64(libfuse.so.2), debug64(libgcc_s.so.1), debug64(liblua-5.3.so), debug64(libm.so.6), debug64(libpthread.so.0), debug64(libsqlite3.so.0), debug64(libstdc++.so.6), debug64(libz.so.1), debug64(libzstd.so.1) Adding to urbackup-server a strict dependency on urbackup-common Adding to urbackup-server-debuginfo a strict dependency on urbackup-server Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-server-2.4.13-alt3.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-common-2.4.13-alt3.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-server-debuginfo-2.4.13-alt3.x86_64.rpm (w2T16.xzdio) 855.97user 77.29system 2:13.33elapsed 699%CPU (0avgtext+0avgdata 702872maxresident)k 0inputs+0outputs (0major+24391241minor)pagefaults 0swaps 2.11user 1.06system 2:20.89elapsed 2%CPU (0avgtext+0avgdata 120220maxresident)k 0inputs+0outputs (34450major+216436minor)pagefaults 0swaps