<86>Dec 1 02:30:25 userdel[1555400]: delete user 'rooter' <86>Dec 1 02:30:25 userdel[1555400]: removed group 'rooter' owned by 'rooter' <86>Dec 1 02:30:25 userdel[1555400]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 1 02:30:25 groupadd[1555413]: group added to /etc/group: name=rooter, GID=930 <86>Dec 1 02:30:25 groupadd[1555413]: group added to /etc/gshadow: name=rooter <86>Dec 1 02:30:25 groupadd[1555413]: new group: name=rooter, GID=930 <86>Dec 1 02:30:25 useradd[1555424]: new user: name=rooter, UID=930, GID=930, home=/root, shell=/bin/bash <86>Dec 1 02:30:25 userdel[1555438]: delete user 'builder' <86>Dec 1 02:30:25 userdel[1555438]: removed group 'builder' owned by 'builder' <86>Dec 1 02:30:25 userdel[1555438]: removed shadow group 'builder' owned by 'builder' <86>Dec 1 02:30:25 groupadd[1555452]: group added to /etc/group: name=builder, GID=931 <86>Dec 1 02:30:25 groupadd[1555452]: group added to /etc/gshadow: name=builder <86>Dec 1 02:30:25 groupadd[1555452]: new group: name=builder, GID=931 <86>Dec 1 02:30:25 useradd[1555462]: new user: name=builder, UID=931, GID=931, home=/usr/src, shell=/bin/bash <13>Dec 1 02:30:27 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Dec 1 02:30:27 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Dec 1 02:30:27 rpmi: mount-2.37.2-alt2 sisyphus+284245.100.1.1 1630401195 installed <13>Dec 1 02:30:27 rpmi: libsqlite3-3.36.0-alt2 sisyphus+287712.100.2.1 1635827417 installed <13>Dec 1 02:30:27 rpmi: lua5.3-5.3.6-alt2 sisyphus+286316.100.2.1 1634197699 installed <13>Dec 1 02:30:27 rpmi: publicsuffix-list-dafsa-20210929-alt1 sisyphus+286161.100.1.1 1632988273 installed <13>Dec 1 02:30:27 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547547 installed <13>Dec 1 02:30:27 rpmi: libnghttp2-1.41.0-alt2 sisyphus+286786.100.1.1 1633940948 installed <13>Dec 1 02:30:27 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Dec 1 02:30:27 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Dec 1 02:30:27 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Dec 1 02:30:27 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Dec 1 02:30:27 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Dec 1 02:30:27 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Dec 1 02:30:27 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 1 02:30:27 rpmi: libstdc++11-devel-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Dec 1 02:30:27 rpmi: gcc11-c++-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Dec 1 02:30:27 rpmi: libdevmapper-1.02.179-alt2 sisyphus+287340.100.1.1 1634383919 installed <13>Dec 1 02:30:27 rpmi: losetup-2.37.2-alt2 sisyphus+284245.100.1.1 1630401195 installed <13>Dec 1 02:30:27 rpmi: lsblk-2.37.2-alt2 sisyphus+284245.100.1.1 1630401195 installed <13>Dec 1 02:30:27 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Dec 1 02:30:27 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Dec 1 02:30:27 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Dec 1 02:30:27 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Dec 1 02:30:27 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Dec 1 02:30:27 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Dec 1 02:30:27 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 1 02:30:27 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Dec 1 02:30:28 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Dec 1 02:30:28 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <86>Dec 1 02:30:28 groupadd[1570845]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 1 02:30:28 groupadd[1570845]: group added to /etc/gshadow: name=_keytab <86>Dec 1 02:30:28 groupadd[1570845]: new group: name=_keytab, GID=499 <13>Dec 1 02:30:28 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <13>Dec 1 02:30:28 rpmi: libkmod-29-alt1 sisyphus+288763.100.1.1 1635886490 installed <13>Dec 1 02:30:28 rpmi: kmod-29-alt1 sisyphus+288763.100.1.1 1635886490 installed <13>Dec 1 02:30:28 rpmi: dmsetup-1.02.179-alt2 sisyphus+287340.100.1.1 1634383919 installed <86>Dec 1 02:30:28 groupadd[1571078]: group added to /etc/group: name=tape, GID=498 <86>Dec 1 02:30:28 groupadd[1571078]: group added to /etc/gshadow: name=tape <86>Dec 1 02:30:28 groupadd[1571078]: new group: name=tape, GID=498 <86>Dec 1 02:30:28 groupadd[1571087]: group added to /etc/group: name=dialout, GID=497 <86>Dec 1 02:30:28 groupadd[1571087]: group added to /etc/gshadow: name=dialout <86>Dec 1 02:30:28 groupadd[1571087]: new group: name=dialout, GID=497 <86>Dec 1 02:30:28 groupadd[1571097]: group added to /etc/group: name=input, GID=496 <86>Dec 1 02:30:28 groupadd[1571097]: group added to /etc/gshadow: name=input <86>Dec 1 02:30:28 groupadd[1571097]: new group: name=input, GID=496 <86>Dec 1 02:30:28 groupadd[1571112]: group added to /etc/group: name=video, GID=495 <86>Dec 1 02:30:28 groupadd[1571112]: group added to /etc/gshadow: name=video <86>Dec 1 02:30:28 groupadd[1571112]: new group: name=video, GID=495 <86>Dec 1 02:30:28 groupadd[1571124]: group added to /etc/group: name=render, GID=494 <86>Dec 1 02:30:28 groupadd[1571124]: group added to /etc/gshadow: name=render <86>Dec 1 02:30:28 groupadd[1571124]: new group: name=render, GID=494 <13>Dec 1 02:30:28 rpmi: udev-1:249.7-alt4 sisyphus+290883.100.1.1 1638040434 installed <86>Dec 1 02:30:28 groupadd[1572880]: group added to /etc/group: name=fuse, GID=493 <86>Dec 1 02:30:28 groupadd[1572880]: group added to /etc/gshadow: name=fuse <86>Dec 1 02:30:28 groupadd[1572880]: new group: name=fuse, GID=493 <86>Dec 1 02:30:28 groupadd[1572889]: group added to /etc/group: name=cuse, GID=492 <86>Dec 1 02:30:28 groupadd[1572889]: group added to /etc/gshadow: name=cuse <86>Dec 1 02:30:28 groupadd[1572889]: new group: name=cuse, GID=492 <13>Dec 1 02:30:28 rpmi: fuse-common-1.1.2-alt1 sisyphus+279613.200.2.1 1626617487 installed <13>Dec 1 02:30:28 rpmi: fuse-2.9.9-alt1 sisyphus+275297.100.1.2 1624473994 installed <13>Dec 1 02:30:28 rpmi: libfuse-2.9.9-alt1 sisyphus+275297.100.1.2 1624473994 installed <86>Dec 1 02:30:28 groupadd[1573255]: group added to /etc/group: name=sasl, GID=491 <86>Dec 1 02:30:28 groupadd[1573255]: group added to /etc/gshadow: name=sasl <86>Dec 1 02:30:28 groupadd[1573255]: new group: name=sasl, GID=491 <13>Dec 1 02:30:28 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Dec 1 02:30:28 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Dec 1 02:30:28 rpmi: libcurl-7.80.0-alt1 sisyphus+290333.100.1.1 1637428403 installed <13>Dec 1 02:30:28 rpmi: libcurl-devel-7.80.0-alt1 sisyphus+290333.100.1.1 1637428403 installed <13>Dec 1 02:30:28 rpmi: libfuse-devel-2.9.9-alt1 sisyphus+275297.100.1.2 1624473994 installed <13>Dec 1 02:30:28 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Dec 1 02:30:28 rpmi: liblua5.3-devel-5.3.6-alt2 sisyphus+286316.100.2.1 1634197699 installed <13>Dec 1 02:30:28 rpmi: libsqlite3-devel-3.36.0-alt2 sisyphus+287712.100.2.1 1635827417 installed <13>Dec 1 02:30:28 rpmi: liblmdb-devel-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Dec 1 02:30:28 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed <13>Dec 1 02:30:28 rpmi: libzstd-devel-1.5.0-alt2 sisyphus+278099.5000.1.1 1626032289 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.82996 + 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.82996 + 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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --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 '931' is supported by ustar format... yes checking whether GID '931' 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... 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.80.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... none required 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 -flto=auto' 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' --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) 11.2.1 20210911 (ALT Sisyphus 11.2.1-alt1) 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 -flto=auto 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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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] 253 | 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 92 | 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] 253 | 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 57 | 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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -c nbtheory.cpp -fPIC -DPIC -o .libs/libothers_la-nbtheory.o nbtheory.cpp:650: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 650 | #pragma omp parallel | nbtheory.cpp:651: warning: ignoring '#pragma omp sections' [-Wunknown-pragmas] 651 | #pragma omp sections | nbtheory.cpp:653: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 653 | #pragma omp section | nbtheory.cpp:655: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 655 | #pragma omp section | nbtheory.cpp:1002: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 1002 | #pragma omp parallel | nbtheory.cpp:1003: warning: ignoring '#pragma omp sections' [-Wunknown-pragmas] 1003 | #pragma omp sections | nbtheory.cpp:1005: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 1005 | #pragma omp section | nbtheory.cpp:1010: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 1010 | #pragma omp section | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -c salsa.cpp -fPIC -DPIC -o .libs/libothers_la-salsa.o salsa.cpp:93: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas] 93 | #pragma omp simd | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -c rw.cpp -fPIC -DPIC -o .libs/libothers_la-rw.o rw.cpp:129: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 129 | #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) | rw.cpp:131: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 131 | #pragma omp section | rw.cpp:133: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 133 | #pragma omp section | rw.cpp:135: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 135 | #pragma omp section | rw.cpp:227: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 227 | #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) | rw.cpp:229: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 229 | #pragma omp section | rw.cpp:233: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 233 | #pragma omp section | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -c scrypt.cpp -fPIC -DPIC -o .libs/libothers_la-scrypt.o scrypt.cpp:56: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas] 56 | #pragma omp simd | scrypt.cpp:249: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 249 | #pragma omp parallel | scrypt.cpp:256: warning: ignoring '#pragma omp for' [-Wunknown-pragmas] 256 | #pragma omp for | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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=link x86_64-alt-linux-g++ -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -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 -flto=auto -c -o urbackupsrv-StreamPipe.o `test -f 'StreamPipe.cpp' || echo './'`StreamPipe.cpp In file included from StreamPipe.cpp:27: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:27: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from StreamPipe.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from StreamPipe.h:4, from StreamPipe.cpp:22: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-Client.o `test -f 'Client.cpp' || echo './'`Client.cpp In file included from Client.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.cpp:22: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Client.h:1, from Client.cpp:21: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-ServerLinux.o `test -f 'ServerLinux.cpp' || echo './'`ServerLinux.cpp In file included from ServerLinux.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServerLinux.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServerLinux.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from ServerLinux.cpp:20: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:23: ServiceAcceptor.h: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.h:42:13: warning: 'CServiceAcceptor::maxClientsPerThread' will be initialized after [-Wreorder] 42 | int maxClientsPerThread; | ^~~~~~~~~~~~~~~~~~~ ServiceAcceptor.h:27:16: warning: 'int CServiceAcceptor::s' [-Wreorder] 27 | SOCKET s; | ^ ServiceAcceptor.cpp:56:1: warning: when initialized here [-Wreorder] 56 | CServiceAcceptor::CServiceAcceptor(IService * pService, std::string pName, unsigned short port, int pMaxClientsPerThread, IServer::BindTarget bindTarget) | ^~~~~~~~~~~~~~~~ ServiceAcceptor.cpp:68:13: warning: unused variable 'rc' [-Wunused-variable] 68 | int rc; | ^~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:150:17: warning: deleting object of polymorphic class type 'CServiceWorker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 150 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ ServiceAcceptor.cpp: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.cpp:65:13: warning: ignoring return value of 'int pipe(int*)' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | pipe(xpipe); | ~~~~^~~~~~~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:120:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | write(xpipe[1], &ch, 1); | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -c -o urbackupsrv-AcceptThread.o `test -f 'AcceptThread.cpp' || echo './'`AcceptThread.cpp In file included from AcceptThread.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:22: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from AcceptThread.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'CAcceptThread::error' will be initialized after [-Wreorder] 31 | bool error; | ^~~~~ AcceptThread.h:29:16: warning: 'int CAcceptThread::s_v6' [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h:29:16: warning: 'CAcceptThread::s_v6' will be initialized after [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.h:28:16: warning: 'int CAcceptThread::s' [-Wreorder] 28 | SOCKET s; | ^ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ AcceptThread.cpp: In destructor 'CAcceptThread::~CAcceptThread()': AcceptThread.cpp:143:17: warning: deleting object of polymorphic class type 'CSelectThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 143 | delete SelectThreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -c -o urbackupsrv-WorkerThread.o `test -f 'WorkerThread.cpp' || echo './'`WorkerThread.cpp In file included from WorkerThread.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:24: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from WorkerThread.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from WorkerThread.cpp:28: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ WorkerThread.cpp: In member function 'virtual void CWorkerThread::operator()()': WorkerThread.cpp:66:24: warning: unused variable 'nq' [-Wunused-variable] 66 | size_t nq=0; | ^~ In file included from WorkerThread.cpp:28: Interface/File.h: At global scope: Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from WorkerThread.cpp:23: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:18: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -c -o urbackupsrv-ServiceWorker.o `test -f 'ServiceWorker.cpp' || echo './'`ServiceWorker.cpp In file included from ServiceWorker.cpp:23: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:23: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ServiceWorker.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from ServiceWorker.h:9, from ServiceWorker.cpp:21: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-Database.o `test -f 'Database.cpp' || echo './'`Database.cpp In file included from Database.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:26: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:36: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:42: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from Database.cpp:48: Database.h: At global scope: Database.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:48: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Database.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:49: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database.cpp: In destructor 'virtual CDatabase::~CDatabase()': Database.cpp:111:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 111 | delete q; | ^~~~~~~~ Database.cpp: In member function 'virtual db_results CDatabase::Read(std::string)': Database.cpp:223:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 223 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual bool CDatabase::Write(std::string)': Database.cpp:236:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 236 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyQuery(IQuery*)': Database.cpp:449:25: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 449 | 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] 455 | delete cq; | ^~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyAllQueries()': Database.cpp:463:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 463 | delete cq; | ^~~~~~~~~ In file included from Database.cpp:49: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Database.cpp:42: Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Database.cpp:26: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-Query.o `test -f 'Query.cpp' || echo './'`Query.cpp In file included from Query.cpp:22: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from Query.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:43: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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] 75 | delete cursor; | ^~~~~~~~~~~~~ In file included from Query.cpp:43: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-SessionMgr.o `test -f 'SessionMgr.cpp' || echo './'`SessionMgr.cpp In file included from SessionMgr.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:22: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SessionMgr.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from main.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from main.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from main.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from main.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:24: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from main.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:34: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main_fkt(int, char**)': main.cpp:482:21: warning: unused variable 'rc' [-Wunused-variable] 482 | int rc=getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ main.cpp:512:21: warning: unused variable 'rc' [-Wunused-variable] 512 | 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] 627 | 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] 632 | delete Server; | ^~~~~~~~~~~~~ main.cpp:405:36: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | dup(i); | ~~~^~~ main.cpp:406:36: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | dup(i); | ~~~^~~ In file included from main.cpp:34: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-SelectThread.o `test -f 'SelectThread.cpp' || echo './'`SelectThread.cpp In file included from SelectThread.cpp:27: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:27: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from SelectThread.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SelectThread.cpp: In destructor 'CSelectThread::~CSelectThread()': SelectThread.cpp:86:25: warning: deleting object of polymorphic class type 'CWorkerThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from SelectThread.cpp:25: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Template.cpp:24: Server.h: At global scope: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Template.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Template.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Template.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Template.cpp:24: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Template.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from Template.cpp:24: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from Template.cpp:21: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_fstream.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.cpp: In member function 'void MD5::update(FILE*)': md5.cpp:582:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | while (len = (int)fread(buffer, 1, 1024, file)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -c -o urbackupsrv-LookupService.o `test -f 'LookupService.cpp' || echo './'`LookupService.cpp In file included from LookupService.cpp:19: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Mutex_lin.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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 -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 -flto=auto -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 -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 -flto=auto -c -o urbackupsrv-LoadbalancerClient.o `test -f 'LoadbalancerClient.cpp' || echo './'`LoadbalancerClient.cpp In file included from LoadbalancerClient.cpp:21: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LoadbalancerClient.cpp:21: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from LoadbalancerClient.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ LoadbalancerClient.cpp: In member function 'virtual void CLoadbalancerClient::operator()()': LoadbalancerClient.cpp:35:13: warning: unused variable 'rc' [-Wunused-variable] 35 | int rc; | ^~ In file included from LoadbalancerClient.cpp:19: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_common.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_common.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_common.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_common.cpp:19: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_common.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_common.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file_linux.cpp:26: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from file_linux.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_linux.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h: At global scope: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from DBSettingsReader.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from DBSettingsReader.cpp:24: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from DBSettingsReader.cpp:23: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -c -o urbackupsrv-SQLiteFactory.o `test -f 'SQLiteFactory.cpp' || echo './'`SQLiteFactory.cpp In file included from SQLiteFactory.cpp:22: Database.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SQLiteFactory.cpp:22: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Database.h:4, from SQLiteFactory.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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 -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 -flto=auto -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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h: At global scope: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ FileSettingsReader.cpp: In member function 'void CFileSettingsReader::read(const string&)': FileSettingsReader.cpp:70:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | std::auto_ptr file(Server->openFile(pFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from FileSettingsReader.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: At global scope: Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from FileSettingsReader.cpp:21: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from FileSettingsReader.cpp:20: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:26: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Condition_lin.cpp:26: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:19: warning: 'FileWrapper::wfile' will be initialized after [-Wreorder] 43 | IVHDFile* wfile; | ^~~~~ fsimageplugin/FileWrapper.h:42:15: warning: 'int64 FileWrapper::offset' [-Wreorder] 42 | int64 offset; | ^~~~~~ fsimageplugin/FileWrapper.cpp:118:1: warning: when initialized here [-Wreorder] 118 | FileWrapper::FileWrapper( IVHDFile* wfile, int64 offset ) | ^~~~~~~~~~~ In file included from fsimageplugin/FileWrapper.h:3, from fsimageplugin/FileWrapper.cpp:19: fsimageplugin/../Interface/File.h: At global scope: fsimageplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o urbackupsrv-MemoryPipe.o `test -f 'MemoryPipe.cpp' || echo './'`MemoryPipe.cpp In file included from MemoryPipe.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemoryPipe.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from MemoryPipe.cpp:20: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -c -o urbackupsrv-PipeThrottler.o `test -f 'PipeThrottler.cpp' || echo './'`PipeThrottler.cpp In file included from PipeThrottler.cpp:19: PipeThrottler.h:34:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from PipeThrottler.h:4, from PipeThrottler.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Query.h:7, from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ DatabaseCursor.cpp: In constructor 'DatabaseCursor::DatabaseCursor(CQuery*, int*)': DatabaseCursor.cpp:28:1: warning: 'DatabaseCursor::db' is initialized with itself [-Winit-self] 28 | DatabaseCursor::DatabaseCursor(CQuery *query, int *timeoutms) | ^~~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15, from DatabaseCursor.cpp:26: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:63:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/CompressedFile.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:20: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(std::string, int)': fsimageplugin/CompressedFile.h:67:14: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 67 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:57:17: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 57 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:37:1: warning: when initialized here [-Wreorder] 37 | CompressedFile::CompressedFile( std::string pFilename, int pMode ) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:69:14: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 69 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:53:17: warning: '__int64 CompressedFile::filesize' [-Wreorder] 53 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:37:1: warning: when initialized here [-Wreorder] 37 | 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:14: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 67 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:57:17: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 57 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] 71 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:69:14: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 69 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:61:16: warning: 'IFile* CompressedFile::uncompressedFile' [-Wreorder] 61 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] 71 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly) | ^~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/CompressedFile.h:61:16: warning: 'CompressedFile::uncompressedFile' will be initialized after [-Wreorder] 61 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:53:17: warning: '__int64 CompressedFile::filesize' [-Wreorder] 53 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:71:1: warning: when initialized here [-Wreorder] 71 | 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:35: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and '__int64' {aka 'long long int'} [-Wsign-compare] 226 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o urbackupsrv-MemorySettingsReader.o `test -f 'MemorySettingsReader.cpp' || echo './'`MemorySettingsReader.cpp In file included from MemorySettingsReader.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from MemorySettingsReader.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:20: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o urbackupsrv-ThreadPool.o `test -f 'ThreadPool.cpp' || echo './'`ThreadPool.cpp In file included from ThreadPool.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:22: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from ThreadPool.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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] 107 | delete this; | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h: In constructor 'CThreadPool::CThreadPool(size_t, size_t, std::string)': ThreadPool.h:86:21: warning: 'CThreadPool::idle_name' will be initialized after [-Wreorder] 86 | std::string idle_name; | ^~~~~~~~~ ThreadPool.h:49:16: warning: 'size_t CThreadPool::nRunning' [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h:49:16: warning: 'CThreadPool::nRunning' will be initialized after [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.h:48:16: warning: 'size_t CThreadPool::nThreads' [-Wreorder] 48 | size_t nThreads; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h:80:23: warning: 'CThreadPool::dexit' will be initialized after [-Wreorder] 80 | volatile bool dexit; | ^~~~~ ThreadPool.h:65:17: warning: 'IMutex* CThreadPool::mutex' [-Wreorder] 65 | IMutex* mutex; | ^~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual THREADPOOL_TICKET CThreadPool::execute(IThread*, const string&)': ThreadPool.cpp:337:25: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 337 | delete nt; | ^~~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 86 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/InternetServicePipe2.h:4, from urbackupcommon/InternetServicePipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/cowfile.cpp:23: fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const string&, bool, uint64)': fsimageplugin/cowfile.h:60:14: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:14: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:62:1: warning: when initialized here [-Wreorder] 62 | CowFile::CowFile(const std::string &fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ In file included from fsimageplugin/cowfile.cpp:23: fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const string&, const string&, bool, uint64)': fsimageplugin/cowfile.h:60:14: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:14: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:200:1: warning: when initialized here [-Wreorder] 200 | CowFile::CowFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ fsimageplugin/cowfile.cpp:207:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 207 | std::auto_ptr parentf(Server->openFile(parent_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp:219:34: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 219 | if(pDstsize>0 && pDstsize!=filesize) | ~~~~~~~~^~~~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::saveBitmap()': fsimageplugin/cowfile.cpp:576:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 576 | std::auto_ptr bitmap_file(Server->openFile(filename+".bitmap", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::loadBitmap(const string&)': fsimageplugin/cowfile.cpp:595:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 595 | std::auto_ptr bitmap_file(Server->openFile(bitmap_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::trimUnused(_i64, _i64, ITrimCallback*)': fsimageplugin/cowfile.cpp:761:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 761 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::syncBitmap(_i64)': fsimageplugin/cowfile.cpp:871:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 871 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../../Interface/File.h: At global scope: fsimageplugin/fs/../../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fsimageplugin/cowfile.cpp:30: fsimageplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:144:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/ClientBitmap.cpp: In constructor 'ClientBitmap::ClientBitmap(std::string)': fsimageplugin/ClientBitmap.cpp:16:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 16 | std::auto_ptr bitmap_file(Server->openFile(fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/ClientBitmap.h:3, from fsimageplugin/ClientBitmap.cpp:1: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/ClientBitmap.cpp:3: fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/ClientBitmap.h:4, from fsimageplugin/ClientBitmap.cpp:1: fsimageplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/filelist_utils.h:5, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/ExtentIterator.h: At global scope: urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/ExtentIterator.cpp:1: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/ExtentIterator.h:4, from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:76:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 86 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipe2.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h: In constructor 'CompressedPipe2::CompressedPipe2(IPipe*, int)': urbackupcommon/CompressedPipe2.h:77:14: warning: 'CompressedPipe2::has_error' will be initialized after [-Wreorder] 77 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipe2.h:71:15: warning: 'int64 CompressedPipe2::uncompressed_sent_bytes' [-Wreorder] 71 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:73:15: warning: 'CompressedPipe2::sent_flushes' will be initialized after [-Wreorder] 73 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:69:16: warning: 'size_t CompressedPipe2::input_buffer_size' [-Wreorder] 69 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:83:31: warning: 'CompressedPipe2::write_mutex' will be initialized after [-Wreorder] 83 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:74:15: warning: 'int64 CompressedPipe2::last_send_time' [-Wreorder] 74 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In member function 'virtual std::string SparseFile::Read(_u32, bool*)': urbackupcommon/SparseFile.cpp:104:14: warning: unused variable 'read' [-Wunused-variable] 104 | _u32 read = mappedOrigOp(&read_str_op, tr, has_error); | ^~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingReadBufOp::BackingReadBufOp(IFile*, char*)': urbackupcommon/SparseFile.cpp:124:24: warning: '{anonymous}::BackingReadBufOp::backing_file' will be initialized after [-Wreorder] 124 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:123:24: warning: 'char* {anonymous}::BackingReadBufOp::buffer' [-Wreorder] 123 | char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:113:17: warning: when initialized here [-Wreorder] 113 | BackingReadBufOp(IFile* backing_file, char * buffer) | ^~~~~~~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingWriteBufOp::BackingWriteBufOp(IFile*, const char*)': urbackupcommon/SparseFile.cpp:178:24: warning: '{anonymous}::BackingWriteBufOp::backing_file' will be initialized after [-Wreorder] 178 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:177:30: warning: 'const char* {anonymous}::BackingWriteBufOp::buffer' [-Wreorder] 177 | const char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:167:17: warning: when initialized here [-Wreorder] 167 | BackingWriteBufOp(IFile* backing_file, const char * buffer) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/SparseFile.h:3, from urbackupcommon/SparseFile.cpp:1: urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/json.cpp: In member function 'void JSON::Value::destroy()': urbackupcommon/json.cpp:275:23: warning: enumeration value 'null_type' not handled in switch [-Wswitch] 275 | switch(data_type) | ^ In file included from urbackupcommon/json.cpp:20: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:76:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 86 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/CompressedPipe2.h:6, from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h: In constructor 'CompressedPipeZstd::CompressedPipeZstd(IPipe*, int, int)': urbackupcommon/CompressedPipeZstd.h:72:14: warning: 'CompressedPipeZstd::has_error' will be initialized after [-Wreorder] 72 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:66:15: warning: 'int64 CompressedPipeZstd::uncompressed_sent_bytes' [-Wreorder] 66 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:68:15: warning: 'CompressedPipeZstd::sent_flushes' will be initialized after [-Wreorder] 68 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:64:16: warning: 'size_t CompressedPipeZstd::input_buffer_size' [-Wreorder] 64 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:79:31: warning: 'CompressedPipeZstd::write_mutex' will be initialized after [-Wreorder] 79 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:69:15: warning: 'int64 CompressedPipeZstd::last_send_time' [-Wreorder] 69 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp: In member function 'size_t CompressedPipeZstd::ProcessToBuffer(char*, size_t, bool)': urbackupcommon/CompressedPipeZstd.cpp:171:14: warning: variable 'set_out' set but not used [-Wunused-but-set-variable] 171 | bool set_out=false; | ^~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ChunkPatcher.cpp:22: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/../urbackupcommon/ExtentIterator.h:3, from urbackupserver/ChunkPatcher.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ChunkPatcher.cpp: In member function 'void ChunkPatcher::nextChunkPatcherBytes(int64, const char*, size_t, bool, bool)': urbackupserver/ChunkPatcher.cpp:512:47: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int64' {aka 'long long int'} [-Wsign-compare] 512 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/snapshot_helper.cpp:22: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupcommon/file_metadata.cpp:26: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/file_metadata.cpp:26: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool write_file_metadata(const string&, INotEnoughSpaceCallback*, const FileMetadata&, bool)': urbackupcommon/file_metadata.cpp:252:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 252 | std::auto_ptr out(Server->openFile(os_file_prefix(out_fn), MODE_RW_CREATE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool read_metadata(const string&, FileMetadata&)': urbackupcommon/file_metadata.cpp:287:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 287 | std::auto_ptr in(Server->openFile(os_file_prefix(in_fn))); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool copy_os_metadata(const string&, const string&, INotEnoughSpaceCallback*)': urbackupcommon/file_metadata.cpp:426:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 426 | std::auto_ptr in_f(Server->openFile(os_file_prefix(in_fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp:427:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 427 | std::auto_ptr out_f(Server->openFile(os_file_prefix(out_fn), MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6, from urbackupcommon/file_metadata.cpp:30: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/chunk_hasher.cpp:21: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool build_chunk_hashs(IFile*, IFile*, INotEnoughSpaceCallback*, IFsFile*, bool, int64*, IFile*, bool, IHashFunc*, IExtentIterator*, std::pair)': urbackupcommon/chunk_hasher.cpp:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr chunk_hashes; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/ExtentIterator.h:3, from urbackupcommon/chunk_hasher.h:5, from urbackupcommon/chunk_hasher.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:122:14: warning: unused variable 'n_chunks' [-Wunused-variable] 122 | _i64 n_chunks=c_checkpoint_dist/c_small_hash_dist; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:151:14: warning: variable 'has_sparse_extent' set but not used [-Wunused-but-set-variable] 151 | bool has_sparse_extent = false; | ^~~~~~~~~~~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool writeRepeatFreeSpace(IFile*, const char*, size_t, INotEnoughSpaceCallback*)': urbackupcommon/chunk_hasher.cpp:619:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 619 | if(rc!=bsize) | ~~^~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.h:3, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o urbackupsrv-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp In file included from Server.cpp:39: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:39: Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:39: Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:39: Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:41: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file.h:4, from Server.cpp:50: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from Server.cpp:54: Database.h: At global scope: Database.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:54: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr write_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:56: PipeThrottler.h:34:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:58: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from Server.h:18, from Server.cpp:39: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ Server.cpp: In destructor 'CServer::~CServer()': Server.cpp:272:17: warning: deleting object of polymorphic class type 'CServiceAcceptor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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] 323 | delete sessmgr; | ^~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::string)': Server.cpp:500:29: warning: unused variable 'rc' [-Wunused-variable] 500 | 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:27: warning: comparison of integer expressions of different signedness: 'THREAD_ID' {aka 'int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 858 | if( curr_thread_id>=MAX_THREAD_ID ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::randomFill(char*, size_t)': Server.cpp:2037:28: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 2037 | 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:17: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const string&, std::string)': Server.cpp:503:38: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 503 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:23: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked(IPipe*, bool, CTCPStack*, FileClientChunked::ReconnectionCallback*, FileClientChunked::NoFreeSpaceCallback*, std::string, FileClientChunked*)': urbackupcommon/fileclient/FileClientChunked.h:233:14: warning: 'FileClientChunked::destroy_pipe' will be initialized after [-Wreorder] 233 | bool destroy_pipe; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:186:20: warning: 'CTCPStack* FileClientChunked::stack' [-Wreorder] 186 | CTCPStack *stack; | ^~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:257:14: warning: 'FileClientChunked::queue_only' will be initialized after [-Wreorder] 257 | bool queue_only; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:256:43: warning: 'FileClientChunked::QueueCallback* FileClientChunked::queue_callback' [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:256:43: warning: 'FileClientChunked::queue_callback' will be initialized after [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:14: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:265:14: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:22: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:276:14: warning: 'FileClientChunked::needs_flush' will be initialized after [-Wreorder] 276 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:14: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:259:14: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:14: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked()': urbackupcommon/fileclient/FileClientChunked.h:252:28: warning: 'FileClientChunked::parent' will be initialized after [-Wreorder] 252 | FileClientChunked* parent; | ^~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:14: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:265:14: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:22: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:274:14: warning: 'FileClientChunked::reconnected' will be initialized after [-Wreorder] 274 | bool reconnected; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:14: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/FileClientChunked.h:259:14: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:14: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp: In member function '_u32 FileClientChunked::GetFile(std::string, _i64&, int64, IFile**)': urbackupcommon/fileclient/FileClientChunked.cpp:159:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | std::auto_ptr next(queued_fcs.front()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/../TreeHash.h:3, from urbackupcommon/fileclient/../chunk_hasher.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:32: urbackupcommon/fileclient/../sha2/sha2.h: At global scope: urbackupcommon/fileclient/../sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/create_files_index.cpp:25: urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr read_transaction_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | SStartupStatus(void) | ^~~~~~~~~~~~~~ urbackupserver/create_files_index.cpp: In function 'bool {anonymous}::create_files_index_common(FileIndex&, SStartupStatus&)': urbackupserver/create_files_index.cpp:193:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr db_file(Server->openFile("urbackup/backup_server_files_new.db", MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/create_files_index.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr read_transaction_lock; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/LMDBFileIndex.h:10, from urbackupserver/LMDBFileIndex.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:29: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h: In constructor 'LMDBFileIndex::LMDBFileIndex(bool)': urbackupserver/LMDBFileIndex.h:77:14: warning: 'LMDBFileIndex::_has_error' will be initialized after [-Wreorder] 77 | bool _has_error; | ^~~~~~~~~~ urbackupserver/LMDBFileIndex.h:76:18: warning: 'MDB_txn* LMDBFileIndex::txn' [-Wreorder] 76 | MDB_txn *txn; | ^~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] 63 | LMDBFileIndex::LMDBFileIndex(bool no_sync) | ^~~~~~~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/LMDBFileIndex.h:76:18: warning: 'LMDBFileIndex::txn' will be initialized after [-Wreorder] 76 | MDB_txn *txn; | ^~~ urbackupserver/LMDBFileIndex.h:63:16: warning: 'size_t LMDBFileIndex::map_size' [-Wreorder] 63 | size_t map_size; | ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] 63 | LMDBFileIndex::LMDBFileIndex(bool no_sync) | ^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'bool LMDBFileIndex::create_env()': urbackupserver/LMDBFileIndex.cpp:504:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 504 | std::auto_ptr lmdb_f(Server->openFile("urbackup/fileindex/backup_server_files_index.lmdb", MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/LMDBFileIndex.h:10, from urbackupserver/LMDBFileIndex.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'virtual int64 LMDBFileIndex::get_any_client(const FileIndex::SIndexKey&)': urbackupserver/LMDBFileIndex.cpp:607:20: warning: unused variable 'curr_key' [-Wunused-variable] 607 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/filedownload.h:1, from urbackupserver/filedownload.cpp:29: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h:66:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 66 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/filedownload.cpp:29: urbackupserver/filedownload.h: In constructor 'FileDownload::FileDownload(std::string, unsigned int)': urbackupserver/filedownload.h:65:42: warning: 'FileDownload::fc_chunked' will be initialized after [-Wreorder] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~~~ urbackupserver/filedownload.h:59:21: warning: 'std::string FileDownload::m_servername' [-Wreorder] 59 | std::string m_servername; | ^~~~~~~~~~~~ urbackupserver/filedownload.cpp:422:1: warning: when initialized here [-Wreorder] 422 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr add_file(Server->openFile(os_file_prefix(filename), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/create_zip.cpp:25: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/TreeHash.cpp:1: urbackupcommon/TreeHash.h: In constructor 'TreeHash::TreeHash(IHashOutput*)': urbackupcommon/TreeHash.h:149:22: warning: 'TreeHash::offset' will be initialized after [-Wreorder] 149 | unsigned int offset; | ^~~~~~ urbackupcommon/TreeHash.h:144:14: warning: 'bool TreeHash::has_sparse' [-Wreorder] 144 | bool has_sparse; | ^~~~~~~~~~ urbackupcommon/TreeHash.cpp:9:1: warning: when initialized here [-Wreorder] 9 | TreeHash::TreeHash(IHashOutput* hash_output) | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/TreeHash.cpp:1: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:28: urbackupserver/../urbackupcommon/CompressedPipe2.h: At global scope: urbackupserver/../urbackupcommon/CompressedPipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:28: urbackupserver/../urbackupcommon/CompressedPipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupserver/../urbackupcommon/InternetServicePipe2.h:76:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr enc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 86 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr write_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:33: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:20: warning: unused variable 'db' [-Wunused-variable] 49 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_archive.cpp:26: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_archive.cpp:26: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_archive.cpp:26: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 51 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/server_archive.cpp:23: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:26: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:361:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | std::auto_ptr& synchronous_link_dao, bool with_transaction) | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 444 | std::auto_ptr dir_f(Server->openFile(os_file_prefix(ExtractFilePath(path, os_file_sep())), mode)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:473:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 473 | std::auto_ptr synchronous_link_dao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/server_dir_links.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:26: urbackupserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:22: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/ThrottleUpdater.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | SStartupStatus(void) | ^~~~~~~~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_file(db_single_result&, _i64&, _i64, bool&, const string&)': urbackupserver/verify_hashes.cpp:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr f(Server->openFile(os_file_prefix(fp), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_hashes(std::string)': urbackupserver/verify_hashes.cpp:480:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 480 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/verify_hashes.cpp:243:13: warning: unused variable 'backupid' [-Wunused-variable] 243 | int backupid=0; | ^~~~~~~~ urbackupserver/verify_hashes.cpp:371:14: warning: unused variable 'crowid' [-Wunused-variable] 371 | _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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/verify_hashes.cpp:24: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/verify_hashes.cpp:21: urbackupserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/check_files_index.cpp: In function 'int check_files_index()': urbackupserver/apps/check_files_index.cpp:63:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::checkpoint(bool)': urbackupcommon/WalCheckpointThread.cpp:44:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 44 | std::auto_ptr wal_file(Server->openFile(db_fn+"-wal", mode)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::sync_database()': urbackupcommon/WalCheckpointThread.cpp:203:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 203 | std::auto_ptr rw_wal_file(Server->openFile(db_fn + "-wal", rw_mode)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupcommon/WalCheckpointThread.h:7, from urbackupcommon/WalCheckpointThread.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:24: urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/Backup.cpp:26: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:26: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/Backup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/Backup.cpp: In member function 'virtual void {anonymous}::DelayedWakeup::operator()()': urbackupserver/Backup.cpp:49:25: warning: deleting object of polymorphic class type '{anonymous}::DelayedWakeup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 49 | delete this; | ^~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:19: urbackupserver/Backup.h: In constructor 'Backup::Backup(ClientMain*, int, std::string, std::string, LogAction, bool, bool, std::string, std::string, bool)': urbackupserver/Backup.h:115:14: warning: 'Backup::r_incremental' will be initialized after [-Wreorder] 115 | bool r_incremental; | ^~~~~~~~~~~~~ urbackupserver/Backup.h:114:14: warning: 'bool Backup::r_resumed' [-Wreorder] 114 | bool r_resumed; | ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:14: warning: 'Backup::backup_result' will be initialized after [-Wreorder] 122 | bool backup_result; | ^~~~~~~~~~~~~ urbackupserver/Backup.h:109:14: warning: 'bool Backup::log_backup' [-Wreorder] 109 | bool log_backup; | ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:14: warning: 'Backup::should_backoff' will be initialized after [-Wreorder] 116 | bool should_backoff; | ^~~~~~~~~~~~~~ urbackupserver/Backup.h:105:20: warning: 'IDatabase* Backup::db' [-Wreorder] 105 | IDatabase* db; | ^~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:16: warning: 'Backup::status_id' will be initialized after [-Wreorder] 125 | size_t status_id; | ^~~~~~~~~ urbackupserver/Backup.h:112:14: warning: 'bool Backup::has_timeout_error' [-Wreorder] 112 | bool has_timeout_error; | ^~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:21: warning: 'Backup::server_token' will be initialized after [-Wreorder] 129 | std::string server_token; | ^~~~~~~~~~~~ urbackupserver/Backup.h:120:21: warning: 'std::string Backup::details' [-Wreorder] 120 | std::string details; | ^~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:21: warning: 'Backup::details' will be initialized after [-Wreorder] 120 | std::string details; | ^~~~~~~ urbackupserver/Backup.h:117:16: warning: 'size_t Backup::num_issues' [-Wreorder] 117 | size_t num_issues; | ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:14: warning: 'Backup::stop_backup_running' will be initialized after [-Wreorder] 131 | bool stop_backup_running; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.h:118:14: warning: 'bool Backup::scheduled' [-Wreorder] 118 | bool scheduled; | ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:14: warning: 'Backup::scheduled' will be initialized after [-Wreorder] 118 | bool scheduled; | ^~~~~~~~~ urbackupserver/Backup.h:111:14: warning: 'bool Backup::allow_remove_backup_folder' [-Wreorder] 111 | bool allow_remove_backup_folder; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:14: warning: unused variable 'do_log' [-Wunused-variable] 121 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:25: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:15, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | 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:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:16, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | 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] 142 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:16: warning: 'ServerDownloadThread::max_ok_id' will be initialized after [-Wreorder] 280 | size_t max_ok_id; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:270:14: warning: 'bool ServerDownloadThread::is_offline' [-Wreorder] 270 | bool is_offline; | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'ServerDownloadThread::is_offline' will be initialized after [-Wreorder] 270 | bool is_offline; | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h:265:21: warning: 'ClientMain* ServerDownloadThread::client_main' [-Wreorder] 265 | ClientMain* client_main; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'ServerDownloadThread::all_downloads_ok' will be initialized after [-Wreorder] 277 | bool all_downloads_ok; | ^~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:268:13: warning: 'int ServerDownloadThread::incremental_num' [-Wreorder] 268 | int incremental_num; | ^~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:17: warning: 'ServerDownloadThread::logid' will be initialized after [-Wreorder] 290 | logid_t logid; | ^~~~~ urbackupserver/ServerDownloadThread.h:271:14: warning: 'bool ServerDownloadThread::has_timeout' [-Wreorder] 271 | bool has_timeout; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'ServerDownloadThread::with_hashes' will be initialized after [-Wreorder] 283 | bool with_hashes; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:282:14: warning: 'bool ServerDownloadThread::with_metadata' [-Wreorder] 282 | bool with_metadata; | ^~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'ServerDownloadThread::with_sparse_hashing' will be initialized after [-Wreorder] 294 | bool with_sparse_hashing; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:272:14: warning: 'bool ServerDownloadThread::exp_backoff' [-Wreorder] 272 | bool exp_backoff; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:16: warning: 'ServerDownloadThread::tmpfile_num' will be initialized after [-Wreorder] 308 | size_t tmpfile_num; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:297:30: warning: 'FilePathCorrections& ServerDownloadThread::filepath_corrections' [-Wreorder] 297 | FilePathCorrections& filepath_corrections; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1331 | std::auto_ptr file_old(Server->openFile(os_file_prefix(filepath_old), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp:1370:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1370 | std::auto_ptr hashfile_old(Server->openFile(os_file_prefix(hashpath_old), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp: In member function 'bool ServerDownloadThread::logScriptOutput(std::string, const {anonymous}::SQueueItem&, std::string&, int64, bool&)': urbackupserver/ServerDownloadThread.cpp:1814:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1814 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(backuppath + os_path), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | 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:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | 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] 142 | 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:39: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | bool constructFileClient(std::auto_ptr& new_fc) | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:935:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 935 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:937:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 937 | std::auto_ptr fileclient_chunked; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:938:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 938 | std::auto_ptr fileclient; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:939:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 939 | std::auto_ptr fileclient_metadata; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:941:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 941 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:943:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 943 | std::auto_ptr server_download; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:953:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 953 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:954:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 954 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:955:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 955 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] 932 | int backupid; | ^~~~~~~~ urbackupserver/server_continuous.h:927:14: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] 927 | bool use_snapshots; | ^~~~~~~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/server_continuous.h:68:9: warning: when initialized here [-Wreorder] 68 | 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:17: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 180 | delete this; | ^~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:652:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 652 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ContinuousBackup.cpp: In member function 'virtual bool ContinuousBackup::doFileBackup()': urbackupserver/ContinuousBackup.cpp:45:14: warning: variable 'intra_file_diffs' set but not used [-Wunused-but-set-variable] 45 | 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:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 12 | std::auto_ptr src(Server->openFile(os_file_prefix(src_path), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:20:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 20 | std::auto_ptr hashoutput(Server->openFile(os_file_prefix(dst_path+".hash"), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:30:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 30 | std::auto_ptr dst(Server->openFile(os_file_prefix(dst_path), MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:43:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 43 | std::auto_ptr hashinput; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | 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:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:29: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | 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] 142 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 226 | std::auto_ptr server_download(new ServerDownloadThread(fc, NULL, backuppath, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:515:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 515 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:890:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 890 | std::auto_ptr sync_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:199:14: warning: unused variable 'filelist_size' [-Wunused-variable] 199 | _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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:22: urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/ImageBackup.cpp:31: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ImageBackup.cpp:31: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:31: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h: In constructor 'ImageBackup::ImageBackup(ClientMain*, int, std::string, std::string, LogAction, bool, std::string, std::string, std::string, bool, int64, std::string, int64, bool)': urbackupserver/ImageBackup.h:79:27: warning: 'ImageBackup::pingthread_ticket' will be initialized after [-Wreorder] 79 | THREADPOOL_TICKET pingthread_ticket; | ^~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.h:68:21: warning: 'std::string ImageBackup::letter' [-Wreorder] 68 | std::string letter; | ^~~~~~ urbackupserver/ImageBackup.cpp:111:1: warning: when initialized here [-Wreorder] 111 | ImageBackup::ImageBackup(ClientMain* client_main, int clientid, std::string clientname, | ^~~~~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:18: urbackupserver/ImageBackup.h:74:13: warning: 'ImageBackup::backupid' will be initialized after [-Wreorder] 74 | int backupid; | ^~~~~~~~ urbackupserver/ImageBackup.h:72:14: warning: 'bool ImageBackup::not_found' [-Wreorder] 72 | bool not_found; | ^~~~~~~~~ urbackupserver/ImageBackup.cpp:111:1: warning: when initialized here [-Wreorder] 111 | 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::string, bool, bool)': urbackupserver/ImageBackup.cpp:390:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 390 | std::auto_ptr mbr_file(Server->openFile(os_file_prefix(imagefn + ".mbr"), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:422:31: warning: unused variable 'full_backup_starttime' [-Wunused-variable] 422 | int64 full_backup_starttime = Server->getTimeMS(); | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:594:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 594 | std::auto_ptr hashfile(Server->openFile(os_file_prefix(pParentvhd + ".hash"))); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:603:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 603 | std::auto_ptr prevbitmap; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:678:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 678 | std::auto_ptr bitmap_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:871:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 871 | std::auto_ptr prevbitmap; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:1539:65: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1539 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1551:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1551 | std::auto_ptr sync_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:1633:66: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 1633 | currblock==0xFFFFFFFFFFFFFFFFLLU) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1660:65: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1660 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1874:17: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1874 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:664:14: warning: unused variable 'first' [-Wunused-variable] 664 | bool first=true; | ^~~~~ urbackupserver/ImageBackup.cpp: In member function 'std::string ImageBackup::constructImagePath(const string&, std::string, std::string)': urbackupserver/ImageBackup.cpp:2120:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2120 | std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:2205:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2205 | std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:2266:43: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 2266 | if (free_space != -1 && free_spaceSize()) | ~~~^~~~~~~~~~~ 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/restore_client.cpp:25: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/restore_client.cpp:25: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/restore_client.cpp: In member function 'virtual IFile* {anonymous}::MetadataCallback::getMetadata(const string&, std::string*, int64*, int64*, _u32*, bool)': urbackupserver/restore_client.cpp:111:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 111 | std::auto_ptr metadata_file(Server->openFile(os_file_prefix(metadata_path), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/restore_client.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/restore_client.cpp:196:46: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 196 | 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:29: warning: '{anonymous}::ClientDownloadThread::identity' will be initialized after [-Wreorder] 616 | std::string identity; | ^~~~~~~~ urbackupserver/restore_client.cpp:612:23: warning: 'int64 {anonymous}::ClientDownloadThread::restore_id' [-Wreorder] 612 | int64 restore_id; | ^~~~~~~~~~ urbackupserver/restore_client.cpp:227:17: warning: when initialized here [-Wreorder] 227 | 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::string, std::string, std::string, size_t, bool)': urbackupserver/restore_client.cpp:404:38: warning: unused variable 'has_metadata' [-Wunused-variable] 404 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_dir_links.h:6, from urbackupserver/copy_storage.cpp:31: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ In file included from urbackupserver/copy_storage.cpp:21: urbackupserver/../stringtools.h: At global scope: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/DataplanDb.h:5, from urbackupserver/DataplanDb.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | 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:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:25: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:28: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | 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] 142 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 173 | std::auto_ptr fc_chunked; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:315:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 315 | std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:504:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 504 | std::auto_ptr server_download(new ServerDownloadThread(fc, fc_chunked.get(), backuppath, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:799:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 799 | std::auto_ptr link_dao_synchronous; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1147:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1147 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1454:24: warning: unused variable 'output_offset' [-Wunused-variable] 1454 | size_t output_offset=0; | ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp:1634:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1634 | std::auto_ptr sync_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1741:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1741 | std::auto_ptr sync_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1787:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1787 | std::auto_ptr tf(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:531:14: warning: unused variable 'filelist_size' [-Wunused-variable] 531 | _i64 filelist_size=tmp_filelist->Size(); | ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'bool IncrFileBackup::deleteFilesInSnapshot(std::string, const std::vector&, std::string, bool, bool, std::vector*)': urbackupserver/IncrFileBackup.cpp:1881:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1881 | std::auto_ptr tmp(Server->openFile(clientlist_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1983:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1983 | std::auto_ptr tf(Server->openFile(os_file_prefix(curr_fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'void IncrFileBackup::addSparseFileEntry(std::string, SFile&, int, int, std::string, size_t&)': urbackupserver/IncrFileBackup.cpp:2103:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2103 | std::auto_ptr last_file(Server->openFile(os_file_prefix(backuppath+local_curr_os_path), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/PhashLoad.cpp:9: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:9: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h: In constructor 'PhashLoad::PhashLoad(FileClient*, logid_t, std::string)': urbackupserver/PhashLoad.h:40:15: warning: 'PhashLoad::phash_file_pos' will be initialized after [-Wreorder] 40 | int64 phash_file_pos; | ^~~~~~~~~~~~~~ urbackupserver/PhashLoad.h:39:18: warning: 'IFsFile* PhashLoad::phash_file' [-Wreorder] 39 | IFsFile* phash_file; | ^~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h:39:18: warning: 'PhashLoad::phash_file' will be initialized after [-Wreorder] 39 | IFsFile* phash_file; | ^~~~~~~~~~ urbackupserver/PhashLoad.h:35:14: warning: 'bool PhashLoad::eof' [-Wreorder] 35 | bool eof; | ^~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ In file included from urbackupserver/PhashLoad.cpp:1: urbackupserver/PhashLoad.h:35:14: warning: 'PhashLoad::eof' will be initialized after [-Wreorder] 35 | bool eof; | ^~~ urbackupserver/PhashLoad.h:34:14: warning: 'bool PhashLoad::has_timeout_error' [-Wreorder] 34 | bool has_timeout_error; | ^~~~~~~~~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ urbackupserver/PhashLoad.cpp: In member function 'virtual void PhashLoad::operator()()': urbackupserver/PhashLoad.cpp:36:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 36 | std::auto_ptr phash_file_dl(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h: At global scope: urbackupserver/../Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'void read_config_file(std::string, std::vector >&)': urbackupserver/cmdline_preprocessor.cpp:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr settings(Server->createFileSettingsReader(fn)); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:329:17: warning: deleting object of abstract class type 'IServer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 329 | delete Server; | ^~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'int action_mount_vhd(std::vector >)': urbackupserver/cmdline_preprocessor.cpp:880:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 880 | system("modprobe fuse"); | ~~~~~~^~~~~~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:895:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 895 | dup(i); | ~~~^~~ urbackupserver/cmdline_preprocessor.cpp:896:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 896 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from urbackupserver/cmdline_preprocessor.cpp:20: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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. -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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-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 -flto=auto -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] 1675 | 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. -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 -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 -flto=auto -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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/Alerts.cpp:5: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupserver/Alerts.cpp: In member function 'virtual void Alerts::operator()()': urbackupserver/Alerts.cpp:177:14: warning: unused variable 'first_run' [-Wunused-variable] 177 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/Alerts.cpp:6: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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. -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/FileMetadataDownloadThread.h:125:17: warning: 'server::FileMetadataDownloadThread::logid' will be initialized after [-Wreorder] 125 | logid_t logid; | ^~~~~ urbackupserver/FileMetadataDownloadThread.h:121:14: warning: 'bool server::FileMetadataDownloadThread::has_error' [-Wreorder] 121 | bool has_error; | ^~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:132:13: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] 132 | int backupid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:15: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] 127 | int64 max_metadata_id; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:133:13: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] 133 | int clientid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:14: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] 122 | bool has_fatal_error; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:145:35: warning: 'server::FileMetadataDownloadThread::cond' will be initialized after [-Wreorder] 145 | std::auto_ptr cond; | ^~~~ urbackupserver/FileMetadataDownloadThread.h:143:14: warning: 'bool server::FileMetadataDownloadThread::force_start' [-Wreorder] 143 | bool force_start; | ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:143:14: warning: 'server::FileMetadataDownloadThread::force_start' will be initialized after [-Wreorder] 143 | bool force_start; | ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:135:42: warning: 'FileClient::ProgressLogCallback* server::FileMetadataDownloadThread::orig_progress_log_callback' [-Wreorder] 135 | FileClient::ProgressLogCallback* orig_progress_log_callback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | 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::string, int, int, bool, std::string)': urbackupserver/FileMetadataDownloadThread.h:132:13: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] 132 | int backupid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:15: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] 127 | int64 max_metadata_id; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] 48 | FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string& server_token, std::string metadata_tmp_fn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/FileMetadataDownloadThread.h:133:13: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] 133 | int clientid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:14: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] 122 | bool has_fatal_error; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] 48 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 59 | std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 99 | std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, mode)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:359:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 359 | std::auto_ptr output_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:719:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 719 | std::auto_ptr output_f(Server->openFile(os_file_prefix(os_path), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:824:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 824 | std::auto_ptr tmp(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'void server::FileMetadataDownloadThread::copyForAnalysis(IFile*)': urbackupserver/FileMetadataDownloadThread.cpp:1436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1436 | std::auto_ptr tmp(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:8, from urbackupserver/FileBackup.cpp:18: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/FileBackup.cpp:18: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:33: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h: In constructor 'FileBackup::FileBackup(ClientMain*, int, std::string, std::string, LogAction, bool, int, bool, std::string, bool, bool, std::string, std::string, bool)': urbackupserver/FileBackup.h:285:14: warning: 'FileBackup::disk_error' will be initialized after [-Wreorder] 285 | bool disk_error; | ^~~~~~~~~~ urbackupserver/FileBackup.h:259:14: warning: 'bool FileBackup::with_hashes' [-Wreorder] 259 | bool with_hashes; | ^~~~~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | 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:13: warning: 'FileBackup::backupid' will be initialized after [-Wreorder] 287 | int backupid; | ^~~~~~~~ urbackupserver/FileBackup.h:267:16: warning: 'IPipe* FileBackup::hashpipe' [-Wreorder] 267 | IPipe *hashpipe; | ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | 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:34: warning: 'FileBackup::bsh_prepare' will be initialized after [-Wreorder] 271 | BackupServerPrepareHash *bsh_prepare; | ^~~~~~~~~~~ urbackupserver/FileBackup.h:270:27: warning: 'THREADPOOL_TICKET FileBackup::bsh_ticket' [-Wreorder] 270 | THREADPOOL_TICKET bsh_ticket; | ^~~~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | 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:27: warning: 'FileBackup::pingthread_ticket' will be initialized after [-Wreorder] 279 | THREADPOOL_TICKET pingthread_ticket; | ^~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:260:14: warning: 'bool FileBackup::cdp_path' [-Wreorder] 260 | bool cdp_path; | ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | 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:14: warning: variable 'async_index' set but not used [-Wunused-but-set-variable] 193 | bool async_index = false; | ^~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::wait_for_async(const string&, int64)': urbackupserver/FileBackup.cpp:399:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 399 | std::auto_ptr cc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::getTokenFile(FileClient&, bool, bool)': urbackupserver/FileBackup.cpp:555:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 555 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function '_i64 FileBackup::getIncrementalSize(IFile*, const std::vector&, bool&, bool)': urbackupserver/FileBackup.cpp:628:13: warning: unused variable 'indir_curr_depth' [-Wunused-variable] 628 | int indir_curr_depth=0; | ^~~~~~~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'std::string FileBackup::getSHADef(const string&)': urbackupserver/FileBackup.cpp:1447:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1447 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::constructBackupPath(bool, bool, std::string&)': urbackupserver/FileBackup.cpp:1519:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1519 | std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::createUserViews(IFile*)': urbackupserver/FileBackup.cpp:1627:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1627 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::saveUsersOnClient()': urbackupserver/FileBackup.cpp:2039:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2039 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startFileMetadataDownloadThread()': urbackupserver/FileBackup.cpp:2189:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2189 | std::auto_ptr fc_metadata_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopFileMetadataDownloadThread(bool, size_t)': urbackupserver/FileBackup.cpp:2256:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2256 | std::auto_ptr fc_metadata_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::loadWindowsBackupComponentConfigXml(FileClient&)': urbackupserver/FileBackup.cpp:2372:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2372 | 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++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startPhashDownloadThread(const string&)': urbackupserver/FileBackup.cpp:2392:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2392 | std::auto_ptr fc_phash_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopPhashDownloadThread(const string&)': urbackupserver/FileBackup.cpp:2443:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2443 | std::auto_ptr fc_phash_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2495 | std::auto_ptr tmpfile(Server->openTemporaryFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp:2501:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2501 | std::auto_ptr output_file(Server->openFile(tmpdirname+os_file_sep()+"verify_failed.file", MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/Backup.h:3, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:18: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:6, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageMount.cpp: In constructor '{anonymous}::MountImageThread::MountImageThread(int, int, std::string&)': urbackupserver/ImageMount.cpp:432:21: warning: '{anonymous}::MountImageThread::partition' will be initialized after [-Wreorder] 432 | int partition; | ^~~~~~~~~ urbackupserver/ImageMount.cpp:431:30: warning: 'std::string& {anonymous}::MountImageThread::errmsg' [-Wreorder] 431 | std::string& errmsg; | ^~~~~~ urbackupserver/ImageMount.cpp:434:17: warning: when initialized here [-Wreorder] 434 | MountImageThread(int backupid, int partition, std::string& errmsg) | ^~~~~~~~~~~~~~~~ urbackupserver/ImageMount.cpp: In member function 'virtual void {anonymous}::MountImageThread::operator()()': urbackupserver/ImageMount.cpp:443:25: warning: deleting object of polymorphic class type '{anonymous}::MountImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 443 | delete this; | ^~~~~~~~~~~ urbackupserver/ImageMount.cpp: In static member function 'static void ImageMount::mount_image_thread(int, int, std::string&)': urbackupserver/ImageMount.cpp:732:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 732 | std::auto_ptr vhdfile; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/ImageMount.cpp:10: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageMount.cpp:750:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 750 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/ImageMount.cpp:3: urbackupserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/Mailer.cpp:6: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Mailer.cpp:6: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/Mailer.cpp: In member function 'virtual void Mailer::operator()()': urbackupserver/Mailer.cpp:156:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 156 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct EndRequestMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 86 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp:75:8: note: 'struct EndRequestMsg' declared here 75 | struct EndRequestMsg : public Header | ^~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In constructor 'UnknownTypeMsg::UnknownTypeMsg()': libfastcgi/fastcgi.cpp:108:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct UnknownTypeMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 108 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp:101:8: note: 'struct UnknownTypeMsg' declared here 101 | struct UnknownTypeMsg : public Header | ^~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In destructor 'FCGIProtocolDriver::~FCGIProtocolDriver()': libfastcgi/fastcgi.cpp:270:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 270 | delete i->second; | ^~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In member function 'void FCGIProtocolDriver::terminate_request(uint16_t)': libfastcgi/fastcgi.cpp:400:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 400 | delete req->second; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:18: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'double {anonymous}::little_endian(double)': common/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'float {anonymous}::big_endian(float)': common/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/data.cpp: In member function 'void CWData::addVarInt(int64)': common/data.cpp:428:13: warning: unused variable 'p' [-Wunused-variable] 428 | int p = sqlite3PutVarint(reinterpret_cast(&data[cpos]), ta); | ^ In file included from common/data.cpp:21: common/../stringtools.h: At global scope: common/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ common/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ common/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ common/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(utf8::uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; utf8::uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' stringtools.cpp:267:18: required from here utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from stringtools.cpp:37: stringtools.h: At global scope: stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:292:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 292 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:21: fsimageplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupserver/LogReport.cpp:10: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LogReport.cpp:11: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/LogReport.cpp:11: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/LogReport.cpp:5: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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-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 -flto=auto -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.' 3079 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'std::string {anonymous}::access_dir_hint(std::string)': urbackupserver/serverinterface/status_check.cpp:72:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 72 | if (has_error && os_last_error() == 5 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'void {anonymous}::access_dir_checks(IDatabase*, ServerSettings&, std::string, std::string, JSON::Object&)': urbackupserver/serverinterface/status_check.cpp:274:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr test_file(Server->openFile(test3_path, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp:329:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid_t())); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status_check.cpp:2: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:63:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:35: fsimageplugin/fs/../filesystem.h:128:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:35: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:19: fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const string&, bool, uint64, unsigned int, bool, bool)': fsimageplugin/vhdfile.h:185:14: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 185 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:182:16: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 182 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 189 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:153:16: warning: 'IFile* VHDFile::file' [-Wreorder] 153 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | 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:14: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 185 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:182:16: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 182 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:140:1: warning: when initialized here [-Wreorder] 140 | 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:14: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 189 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:153:16: warning: 'IFile* VHDFile::file' [-Wreorder] 153 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:140:1: warning: when initialized here [-Wreorder] 140 | 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:49: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 479 | && backing_file->Size() != nextblock_offset + sizeof(VHDFooter)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::read_footer()': fsimageplugin/vhdfile.cpp:489:16: warning: unused variable 'fsize' [-Wunused-variable] 489 | size_t fsize=sizeof(VHDFooter); | ^~~~~ fsimageplugin/vhdfile.cpp: In member function 'virtual bool VHDFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdfile.cpp:1400:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1400 | std::auto_ptr bitmap_source; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/CompressedFile.h:4, from fsimageplugin/vhdfile.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdfile.cpp:1451:46: warning: unused variable 'has_error' [-Wunused-variable] 1451 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/fs/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/fs/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/fs/../filesystem.h:16, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.cpp:20: fsimageplugin/fs/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': httpserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from httpserver/HTTPFile.cpp:24: httpserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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 -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 -flto=auto -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::string)': urbackupserver/apps/../../blockalign_src/main.cpp:257:13: warning: 'HashDb::hFile' will be initialized after [-Wreorder] 257 | int hFile; | ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'int* HashDb::view' [-Wreorder] 252 | int* view; | ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'HashDb::view' will be initialized after [-Wreorder] 252 | int* view; | ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:251:10: warning: 'bool HashDb::has_error' [-Wreorder] 251 | bool has_error; | ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In constructor 'BlockMap::BlockMap(std::string, int64_t)': urbackupserver/apps/../../blockalign_src/main.cpp:420:13: warning: 'BlockMap::hFile' will be initialized after [-Wreorder] 420 | int hFile; | ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:415:11: warning: 'char* BlockMap::view_start' [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | 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] 415 | char* view_start; | ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:413:10: warning: 'bool BlockMap::has_error' [-Wreorder] 413 | bool has_error; | ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | 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] 634 | 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] 803 | 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] 983 | 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:52: 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] 1080 | if (out_stream.tellp() - start_pos != magic.size() + sizeof(blocksize_avg)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:1203:47: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1203 | if (out_stream.tellp() - ppos != blockmap.size() * sizeof(int32_t) + sizeof(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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:128:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: At global scope: fsimageplugin/filesystem.cpp:232:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 232 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:233:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | std::auto_ptr start_readahead_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:234:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 234 | std::auto_ptr read_block_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from fsimageplugin/filesystem.h:16, from fsimageplugin/filesystem.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp: In constructor 'Filesystem_ReadaheadThread::Filesystem_ReadaheadThread(Filesystem&, bool)': fsimageplugin/filesystem.cpp:235:21: warning: 'Filesystem_ReadaheadThread::fs' will be initialized after [-Wreorder] 235 | Filesystem& fs; | ^~ fsimageplugin/filesystem.cpp:232:31: warning: 'std::auto_ptr Filesystem_ReadaheadThread::mutex' [-Wreorder] 232 | std::auto_ptr mutex; | ^~~~~ fsimageplugin/filesystem.cpp:79:9: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:243:14: warning: 'Filesystem_ReadaheadThread::do_stop' will be initialized after [-Wreorder] 243 | bool do_stop; | ^~~~~~~ fsimageplugin/filesystem.cpp:239:14: warning: 'bool Filesystem_ReadaheadThread::readahead_miss' [-Wreorder] 239 | bool readahead_miss; | ^~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:79:9: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(const string&, IFSImageFactory::EReadaheadMode, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:137:31: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 137 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:133:15: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 133 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:133:15: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 133 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:132:16: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 132 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:132:16: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 132 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:111:15: warning: 'int64 Filesystem::errcode' [-Wreorder] 111 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(IFile*, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:137:31: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 137 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:133:15: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 133 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:133:15: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 133 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:132:16: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 132 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:19: fsimageplugin/filesystem.h:132:16: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 132 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:111:15: warning: 'int64 Filesystem::errcode' [-Wreorder] 111 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.cpp: In destructor 'virtual Filesystem::~Filesystem()': fsimageplugin/filesystem.cpp:293:17: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 293 | delete buffers[i]; | ^~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::hasBlock(int64)': fsimageplugin/filesystem.cpp:312:15: warning: unused variable 'blocksize' [-Wunused-variable] 312 | int64 blocksize=getBlocksize(); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'bool Filesystem::queueOverlappedReads(bool)': fsimageplugin/filesystem.cpp:628:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 628 | while(block->n_buffers(getBlocksize()); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual void Filesystem::releaseBuffer(IFilesystem::IFsBuffer*)': fsimageplugin/filesystem.cpp:829:9: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 829 | delete simple_buf; | ^~~~~~~~~~~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/server_compat.h:3, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:22: warning: unused variable 'ok' [-Wunused-variable] 471 | bool ok=true; | ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:594:41: warning: unused variable 'tmp' [-Wunused-variable] 594 | in_addr tmp; | ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1259:13: warning: unused variable 'io_prio' [-Wunused-variable] 1259 | int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); | ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1260:13: warning: unused variable 'cpu_prio' [-Wunused-variable] 1260 | 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:19: required from here urbackupcommon/../utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/server_compat.h: At global scope: urbackupcommon/server_compat.h:70:21: warning: 'std::string {anonymous}::ConvertFromWchar(const wstring&)' defined but not used [-Wunused-function] 70 | std::string ConvertFromWchar(const std::wstring &input) | ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:22: warning: 'std::wstring {anonymous}::ConvertToWchar(const string&)' defined but not used [-Wunused-function] 46 | std::wstring ConvertToWchar(const std::string &input) | ^~~~~~~~~~~~~~ In file included from urbackupcommon/server_compat.h:3, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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] 271 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': httpserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from httpserver/HTTPClient.cpp:26: httpserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o httpserver/urbackupsrv-HTTPProxy.o `test -f 'httpserver/HTTPProxy.cpp' || echo './'`httpserver/HTTPProxy.cpp In file included from httpserver/HTTPProxy.cpp:25: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ httpserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:60: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:128:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:60: fsimageplugin/fs/../filesystem.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr readahead_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:67: fsimageplugin/CompressedFile.h:63:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::decompress_vhd(const string&, const string&)': fsimageplugin/dllmain.cpp:112:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | std::auto_ptr vhdfile(new VHDFile(fn, true, 0)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::assemble_vhd(const std::vector >&, const string&)': fsimageplugin/dllmain.cpp:253:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 253 | std::auto_ptr f(Server->openFile(fn[i]+".mbr", MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:357:23: warning: unused variable 'curr_pos' [-Wunused-variable] 357 | int64 curr_pos=0; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'void LoadActions_fsimageplugin(IServer*)': fsimageplugin/dllmain.cpp:814:43: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 814 | if(currpos!=skip) | ~~~~~~~^~~~~~ fsimageplugin/dllmain.cpp:938:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 938 | std::auto_ptr in(open_device_file(image_verify)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1067:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1067 | std::auto_ptr in(open_device_file(device_verify)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:51: fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:50: fsimageplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:49: fsimageplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ In file included from urbackupserver/action_header.h:9, from urbackupserver/server_status.cpp:24: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update.cpp:24: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/DataplanDb.h:5, from urbackupserver/server_update.cpp:24: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update.cpp:22: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:13: warning: 'ServerRunningUpdater::backupid' will be initialized after [-Wreorder] 23 | int backupid; | ^~~~~~~~ urbackupserver/server_running.h:22:14: warning: 'bool ServerRunningUpdater::image' [-Wreorder] 22 | bool image; | ^~~~~ urbackupserver/server_running.cpp:26:1: warning: when initialized here [-Wreorder] 26 | 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] 73 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_ping.cpp:22: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_ping.cpp:22: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:22: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_ping.h:24:16: warning: 'ServerPingThread::status_id' will be initialized after [-Wreorder] 24 | size_t status_id; | ^~~~~~~~~ urbackupserver/server_ping.h:22:14: warning: 'bool ServerPingThread::with_eta' [-Wreorder] 22 | bool with_eta; | ^~~~~~~~ urbackupserver/server_ping.cpp:29:1: warning: when initialized here [-Wreorder] 29 | 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] 129 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h: In constructor 'FileClient::FileClient(bool, std::string, int, bool, FileClient::ReconnectionCallback*, FileClient::NoFreeSpaceCallback*)': urbackupcommon/fileclient/FileClient.h:260:22: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] 260 | _i64 received_data_bytes; | ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:253:44: warning: 'FileClient::QueueCallback* FileClient::queue_callback' [-Wreorder] 253 | FileClient::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool internet_connection, | ^~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/FileClient.h:285:22: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] 285 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:246:22: warning: '_i64 FileClient::real_transferred_bytes' [-Wreorder] 246 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool internet_connection, | ^~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:1080:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1080 | std::auto_ptr sparse_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::FinishScript(std::string)': urbackupcommon/fileclient/FileClient.cpp:2397:21: warning: unused variable 'tries' [-Wunused-variable] 2397 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_writer.cpp:28: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_writer.cpp:28: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_writer.cpp:28: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_writer.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'ServerVHDWriter::mbr_offset' will be initialized after [-Wreorder] 97 | int64 mbr_offset; | ^~~~~~~~~~ urbackupserver/server_writer.h:92:23: warning: 'volatile bool ServerVHDWriter::do_trim' [-Wreorder] 92 | volatile bool do_trim; | ^~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] 36 | ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:18: urbackupserver/server_writer.h:101:15: warning: 'ServerVHDWriter::vhd_blocksize' will be initialized after [-Wreorder] 101 | int64 vhd_blocksize; | ^~~~~~~~~~~~~ urbackupserver/server_writer.h:93:23: warning: 'volatile bool ServerVHDWriter::do_make_full' [-Wreorder] 93 | volatile bool do_make_full; | ^~~~~~~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] 36 | ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, | ^~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In destructor 'ServerVHDWriter::~ServerVHDWriter()': urbackupserver/server_writer.cpp:79:17: warning: deleting object of polymorphic class type 'ServerFileBufferWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 79 | delete filebuf_writer; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In member function 'void ServerVHDWriter::checkFreeSpaceAndCleanup()': urbackupserver/server_writer.cpp:227:25: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 227 | 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:24: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 244 | if (posdrivesize) | ~~~^~~~~~~~~~ urbackupserver/server_writer.cpp:289:33: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 289 | if(fs!=-1 && fs <= free_space_lim ) | ~~~^~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp:268:23: warning: variable 'errcode' set but not used [-Wunused-but-set-variable] 268 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_writer.cpp:24: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server.cpp:24: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:24: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server.cpp:35: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server.cpp:35: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:35: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void BackupServer::operator()()': urbackupserver/server.cpp:215:25: warning: deleting object of polymorphic class type 'BackupServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 215 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::startClients(FileClient&)': urbackupserver/server.cpp:337:23: 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] 337 | 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:24: note: 'struct FileClient::SAddrHint' declared here 81 | struct SAddrHint | ^~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::TestFilesystemThread::operator()()': urbackupserver/server.cpp:969:25: warning: deleting object of polymorphic class type '{anonymous}::TestFilesystemThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 969 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::FileCleanups::operator()()': urbackupserver/server.cpp:1110:25: warning: deleting object of polymorphic class type '{anonymous}::FileCleanups' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1110 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::runServerRecovery(IDatabase*)': urbackupserver/server.cpp:1159:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1159 | std::auto_ptr f(Server->openFile(os_file_prefix(res["path"]))); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1226:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1226 | 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++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1251:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1251 | std::auto_ptr file_cleanups(new FileCleanups); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1302:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1302 | std::auto_ptr image_f(Server->openFile(os_file_prefix(path), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1338:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1338 | std::auto_ptr sync_f(Server->openFile(os_file_prefix(res["path"] + ".sync"), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/salt.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/helper.cpp:25: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupserver/serverinterface/helper.cpp: In member function 'ITemplate* Helper::createTemplate(std::string)': urbackupserver/serverinterface/helper.cpp:148:20: warning: unused variable 'db' [-Wunused-variable] 148 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:20: urbackupserver/serverinterface/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:25: warning: deleting object of polymorphic class type 'BackupServerPrepareHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 81 | delete this; | ^~~~~~~~~~~ urbackupserver/server_prepare_hash.cpp:169:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 169 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_prepare_hash.cpp:218:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 218 | std::auto_ptr l_hashoutput_f(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:22: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12, from urbackupserver/server_hash.cpp:36: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'BackupServerHash::use_tmpfiles' will be initialized after [-Wreorder] 161 | bool use_tmpfiles; | ^~~~~~~~~~~~ urbackupserver/server_hash.h:140:25: warning: 'ServerFilesDao* BackupServerHash::filesdao' [-Wreorder] 140 | ServerFilesDao* filesdao; | ^~~~~~~~ urbackupserver/server_hash.cpp:57:1: warning: when initialized here [-Wreorder] 57 | 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:25: warning: deleting object of polymorphic class type 'BackupServerHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 127 | delete this; | ^~~~~~~~~~~ urbackupserver/server_hash.cpp:198:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 198 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:252:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 252 | std::auto_ptr tf(Server->openFile(os_file_prefix(source), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:269:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 269 | std::auto_ptr hashf(Server->openFile(os_file_prefix(hash_src), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:223:38: warning: variable 'b' set but not used [-Wunused-but-set-variable] 223 | bool b = rd.getVarInt(&fileid); | ^ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::findFileAndLink(const string&, IFile*, std::string, const string&, _i64, const string&, bool, bool&, std::string&, bool&, bool&, int64&, int&, int64&, int64&, FileMetadata&, bool, ExtentIterator*)': urbackupserver/server_hash.cpp:707:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr ctf_hash(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:776:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 776 | std::auto_ptr src(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:804:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 804 | std::auto_ptr ctf(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::copyFile(IFile*, const string&, ExtentIterator*)': urbackupserver/server_hash.cpp:1263:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | std::auto_ptr dst(openFileRetry(dest, MODE_WRITE, errstr)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:35: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1412 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1630 | std::auto_ptr dst(openFileRetry(dest, MODE_RW, errstr)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:36: urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ In file included from urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:13: warning: 'ServerSettings::clientid' will be initialized after [-Wreorder] 274 | int clientid; | ^~~~~~~~ urbackupserver/server_settings.h:272:20: warning: 'IDatabase* ServerSettings::db' [-Wreorder] 272 | IDatabase* db; | ^~ urbackupserver/server_settings.cpp:80:1: warning: when initialized here [-Wreorder] 80 | ServerSettings::ServerSettings(IDatabase *db, int pClientid) | ^~~~~~~~~~~~~~ urbackupserver/server_settings.cpp:95:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr settings_client, settings_default, setting_global; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 123 | void ServerSettings::createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:124:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | std::auto_ptr& settings_client, std::auto_ptr& settings_global) | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:124:63: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | std::auto_ptr& settings_client, std::auto_ptr& settings_global) | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::update(bool)': urbackupserver/server_settings.cpp:274:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'SLDAPSettings ServerSettings::getLDAPSettings()': urbackupserver/server_settings.cpp:1069:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1069 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_settings.h:7, from urbackupserver/server_settings.cpp:27: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_settings.cpp:19: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:67: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:68: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/dllmain.cpp:71: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/dllmain.cpp:71: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:71: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:74: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:74: urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:77: urbackupserver/filedownload.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:77: urbackupserver/filedownload.h:66:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 66 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:84: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 15 | class ServerChannelThread : public IThread | ^~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:86: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:98: urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dllmain.cpp: In function 'void LoadActions_urbackupserver(IServer*)': urbackupserver/dllmain.cpp:510:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 510 | std::auto_ptr f(Server->openFile(Server->getServerParameter("hash_file"), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'bool upgrade35_36()': urbackupserver/dllmain.cpp:1467:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1467 | std::auto_ptr db_file(Server->openFile("urbackup/backup_server.db", MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/dllmain.cpp:70: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:67: urbackupserver/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:51: urbackupserver/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:19: urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:24: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:29: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_update_stats.h:5, from urbackupserver/server_update_stats.cpp:19: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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] 15 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_channel.cpp:25: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/server_channel.cpp:25: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:25: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::SessionKeepaliveThread::operator()()': urbackupserver/server_channel.cpp:93:25: warning: deleting object of polymorphic class type '{anonymous}::SessionKeepaliveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 93 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::FileservClientThread::operator()()': urbackupserver/server_channel.cpp:121:25: warning: deleting object of polymorphic class type '{anonymous}::FileservClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 121 | 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::string, const string&, ServerChannelThread*)': urbackupserver/server_channel.h:95:21: warning: 'ServerChannelThread::clientname' will be initialized after [-Wreorder] 95 | std::string clientname; | ^~~~~~~~~~ urbackupserver/server_channel.h:38:13: warning: 'int ServerChannelThread::clientid' [-Wreorder] 38 | int clientid; | ^~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] 156 | 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:21: warning: 'ServerChannelThread::server_token' will be initialized after [-Wreorder] 101 | std::string server_token; | ^~~~~~~~~~~~ urbackupserver/server_channel.h:97:21: warning: 'std::string ServerChannelThread::virtual_client' [-Wreorder] 97 | std::string virtual_client; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] 156 | 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:21: warning: 'ServerChannelThread::virtual_client' will be initialized after [-Wreorder] 97 | std::string virtual_client; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.h:82:14: warning: 'bool ServerChannelThread::allow_shutdown' [-Wreorder] 82 | bool allow_shutdown; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] 156 | 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:30: warning: 'ServerChannelThread::parent' will be initialized after [-Wreorder] 105 | ServerChannelThread* parent; | ^~~~~~ urbackupserver/server_channel.h:36:15: warning: 'int64 ServerChannelThread::next_reauth_time' [-Wreorder] 36 | int64 next_reauth_time; | ^~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:156:1: warning: when initialized here [-Wreorder] 156 | 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:17: warning: deleting object of polymorphic class type 'ServerChannelThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 182 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::run()': urbackupserver/server_channel.cpp:188:15: warning: variable 'lastpingtime' set but not used [-Wunused-but-set-variable] 188 | int64 lastpingtime=0; | ^~~~~~~~~~~~ urbackupserver/server_channel.cpp: In constructor '{anonymous}::ScopedSetRestoreDone::ScopedSetRestoreDone(ServerBackupDao&, int64)': urbackupserver/server_channel.cpp:938:34: warning: '{anonymous}::ScopedSetRestoreDone::backup_dao' will be initialized after [-Wreorder] 938 | ServerBackupDao& backup_dao; | ^~~~~~~~~~ urbackupserver/server_channel.cpp:937:22: warning: 'bool {anonymous}::ScopedSetRestoreDone::ok' [-Wreorder] 937 | bool ok; | ^~ urbackupserver/server_channel.cpp:941:17: warning: when initialized here [-Wreorder] 941 | 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:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 998 | std::auto_ptr f(Server->openFile(os_file_prefix(res[0]["path"]+".mbr"), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_channel.cpp:1098:30: warning: unused variable 'currblock' [-Wunused-variable] 1098 | _i64 currblock=(currpos+skip)%blocksize; | ^~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::RESTORE_PERCENT(str_map)': urbackupserver/server_channel.cpp:1466:13: warning: unused variable 'detail_pc' [-Wunused-variable] 1466 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:16: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] 62 | size_t num_children; | ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:19: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] 59 | TreeNode *nextSibling; | ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] 24 | 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:14: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] 63 | bool subtree_changed; | ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:54:14: warning: 'char TreeNode::node_type' [-Wreorder] 54 | char node_type; | ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] 24 | 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:16: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] 62 | size_t num_children; | ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:19: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] 59 | TreeNode *nextSibling; | ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:63:14: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] 63 | bool subtree_changed; | ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:60:19: warning: 'TreeNode* TreeNode::parent' [-Wreorder] 60 | TreeNode *parent; | ^~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:60:19: warning: 'TreeNode::parent' will be initialized after [-Wreorder] 60 | TreeNode *parent; | ^~~~~~ urbackupserver/treediff/TreeNode.h:56:21: warning: 'const char* TreeNode::name' [-Wreorder] 56 | const char* name; | ^~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h:57:21: warning: 'TreeNode::data' will be initialized after [-Wreorder] 57 | const char* data; | ^~~~ urbackupserver/treediff/TreeNode.h:54:14: warning: 'char TreeNode::node_type' [-Wreorder] 54 | char node_type; | ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:16: warning: unused variable 'nc_2' [-Wunused-variable] 78 | size_t nc_2=t2->getNumChildren(); | ^~~~ urbackupserver/treediff/TreeDiff.cpp:79:16: warning: unused variable 'nc_1' [-Wunused-variable] 79 | size_t nc_1=t1->getNumChildren(); | ^~~~ urbackupserver/treediff/TreeDiff.cpp:82:14: warning: unused variable 'did_subtree_change' [-Wunused-variable] 82 | 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-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 -flto=auto -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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/download_client.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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 -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 -flto=auto -c -o urbackupserver/urbackupsrv-ClientMain.o `test -f 'urbackupserver/ClientMain.cpp' || echo './'`urbackupserver/ClientMain.cpp In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/ClientMain.cpp:18: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/ClientMain.cpp:18: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:18, from urbackupserver/ClientMain.cpp:18: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 15 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | 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] 142 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:32: urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:702:39: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | bool constructFileClient(std::auto_ptr& new_fc) | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:935:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 935 | std::auto_ptr local_hash; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:937:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 937 | std::auto_ptr fileclient_chunked; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:938:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 938 | std::auto_ptr fileclient; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:939:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 939 | std::auto_ptr fileclient_metadata; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:941:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 941 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:943:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 943 | std::auto_ptr server_download; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:953:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 953 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:954:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 954 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:955:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 955 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] 932 | int backupid; | ^~~~~~~~ urbackupserver/server_continuous.h:927:14: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] 927 | bool use_snapshots; | ^~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:46: urbackupserver/server_continuous.h:68:9: warning: when initialized here [-Wreorder] 68 | 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:17: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 180 | delete this; | ^~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(BackupServerContinuous::SChange&)': urbackupserver/server_continuous.h:652:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 652 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:61: urbackupserver/ImageBackup.h: At global scope: urbackupserver/ImageBackup.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:65: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:23: warning: 'ClientMain::internet_connection' will be initialized after [-Wreorder] 362 | volatile bool internet_connection; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:338:39: warning: 'std::auto_ptr ClientMain::server_settings' [-Wreorder] 338 | std::auto_ptr server_settings; | ^~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] 101 | ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, | ^~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:377:25: warning: 'ClientMain::client_throttler' will be initialized after [-Wreorder] 377 | IPipeThrottler *client_throttler; | ^~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:368:14: warning: 'bool ClientMain::use_file_snapshots' [-Wreorder] 368 | bool use_file_snapshots; | ^~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] 101 | ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, | ^~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:18: urbackupserver/ClientMain.h:397:33: warning: 'ClientMain::continuous_backup' will be initialized after [-Wreorder] 397 | BackupServerContinuous* continuous_backup; | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:328:21: warning: 'std::string ClientMain::clientsubname' [-Wreorder] 328 | std::string clientsubname; | ^~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:101:1: warning: when initialized here [-Wreorder] 101 | 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:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 219 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:227:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 227 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:257:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 257 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:265:25: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 265 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:272:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 272 | std::auto_ptr local_server_backup_dao(new ServerBackupDao(db)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:287:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 287 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:319:25: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 319 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:355:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 355 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:850:32: warning: unused variable 'running_jobs' [-Wunused-variable] 850 | 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] 1055 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:452:14: warning: variable 'do_exit_now' set but not used [-Wunused-but-set-variable] 452 | bool do_exit_now=false; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'std::string ClientMain::sendClientMessage(const string&, const string&, unsigned int, bool, int, ClientMain::SConnection*)': urbackupserver/ClientMain.cpp:1271:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1271 | std::auto_ptr cc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1301:14: warning: unused variable 'ok' [-Wunused-variable] 1301 | bool ok=false; | ^~ urbackupserver/ClientMain.cpp:1302:14: warning: unused variable 'herr' [-Wunused-variable] 1302 | bool herr=false; | ^~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::sendClientMessage(const string&, const string&, const string&, unsigned int, bool, int, bool*, std::string*, ClientMain::SConnection*)': urbackupserver/ClientMain.cpp:1374:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1374 | std::auto_ptr cc; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::sendSettings()': urbackupserver/ClientMain.cpp:1754:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1754 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1764:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1764 | std::auto_ptr origSettings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::getClientSettings(bool&)': urbackupserver/ClientMain.cpp:1887:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1887 | std::auto_ptr sr(Server->createFileSettingsReader(tmp_fn)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::checkClientVersion()': urbackupserver/ClientMain.cpp:2103:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2103 | std::auto_ptr sigfile(Server->openFile(signature_file, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2109:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2109 | std::auto_ptr updatefile(Server->openFile(installer_file, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2118:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2118 | std::auto_ptr cc(getClientCommandConnection(server_settings.get(), 10000)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: At global scope: urbackupserver/ClientMain.cpp:2591:57: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2591 | bool ClientMain::getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:40: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 2759 | if(free_space!=-1 && free_spaceSize()) | ~~~^~~~~~~~~~~ In file included from urbackupserver/apps/patch.cpp:4: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp: In function 'int patch_hash()': urbackupserver/apps/patch.cpp:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr f(Server->openFile(source_file, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr patch_file(Server->openFile(patch_file_fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3, from urbackupserver/apps/patch.cpp:4: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/md5sum_check.cpp: In function 'int md5sum_check()': urbackupserver/apps/md5sum_check.cpp:48:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/md5sum_check.cpp:5: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -flto=auto -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:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2113 | int rc, (*insert)(MDB_ID2L, MDB_ID2 *); | ^~ urbackupserver/lmdb/mdb.c: In function 'mdb_env_close': urbackupserver/lmdb/mdb.c:5117:19: warning: unused variable 'dp' [-Wunused-variable] 5117 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ urbackupserver/serverinterface/usage.cpp: In member function 'virtual void {anonymous}::RecalculateStatistics::operator()()': urbackupserver/serverinterface/usage.cpp:64:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 64 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_cleanup.h:11, from urbackupserver/serverinterface/usage.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/usage.cpp:128:25: warning: deleting object of polymorphic class type '{anonymous}::RecalculateStatistics' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 128 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/apps/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/apps/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/apps/../server_settings.h:7, from urbackupserver/apps/cleanup_cmd.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../urbackupcommon/fileclient/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:22: urbackupserver/apps/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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 -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 -flto=auto -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] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/map_buffer.h:5, from fileservplugin/map_buffer.cpp:29: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status.cpp: In function 'bool {anonymous}::client_download(Helper&, JSON::Array&)': urbackupserver/serverinterface/status.cpp:64:22: warning: unused variable 'found' [-Wunused-variable] 64 | bool found=false; | ^~~~~ urbackupserver/serverinterface/status.cpp: In function 'void {anonymous}::set_server_version_info(IDatabase*, JSON::Object&)': urbackupserver/serverinterface/status.cpp:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr infoProperties(Server->createFileSettingsReader("urbackup/server_version_info.properties")); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/status.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:34: warning: variable 'curr_status' set but not used [-Wunused-but-set-variable] 393 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/dllmain.cpp:46: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/dllmain.cpp:47: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/dllmain.cpp:43: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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] 19 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.cpp:20: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 20 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CUDPThread.cpp:28: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CUDPThread.cpp:32: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CUDPThread.cpp: In member function 'virtual void CUDPThread::operator()()': fileservplugin/CUDPThread.cpp:431:17: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 431 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/CUDPThread.cpp:33: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.cpp:22: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.h:13, from fileservplugin/CTCPFileServ.cpp:22: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.cpp:23: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/CTCPFileServ.cpp:21: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::KickClients()': fileservplugin/CTCPFileServ.cpp:86:41: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'bool CTCPFileServ::Start(_u16, _u16, std::string, bool)': fileservplugin/CTCPFileServ.cpp:204:17: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 204 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:216:25: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 216 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:163:14: warning: unused variable 'rc' [-Wunused-variable] 163 | _i32 rc; | ^~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::DelClientThreads()': fileservplugin/CTCPFileServ.cpp:344:33: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 344 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/log.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/FileServ.cpp:26: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/FileServ.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileServ.cpp:27: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:28: fileservplugin/PipeFileExt.h: At global scope: fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileServ.cpp:19: fileservplugin/FileServ.h: In constructor 'FileServ::FileServ(bool*, const string&, THREADPOOL_TICKET, bool)': fileservplugin/FileServ.h:77:21: warning: 'FileServ::servername' will be initialized after [-Wreorder] 77 | std::string servername; | ^~~~~~~~~~ fileservplugin/FileServ.h:76:27: warning: 'THREADPOOL_TICKET FileServ::serverticket' [-Wreorder] 76 | THREADPOOL_TICKET serverticket; | ^~~~~~~~~~~~ fileservplugin/FileServ.cpp:42:1: warning: when initialized here [-Wreorder] 42 | FileServ::FileServ(bool *pDostop, const std::string &pServername, THREADPOOL_TICKET serverticket, bool use_fqdn) | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/FileServ.cpp:27: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:21: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'PipeFileBase::curr_pos' will be initialized after [-Wreorder] 99 | int64 curr_pos; | ^~~~~~~~ fileservplugin/PipeFileBase.h:83:14: warning: 'bool PipeFileBase::has_error' [-Wreorder] 83 | bool has_error; | ^~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:102:16: warning: 'PipeFileBase::buf_r_pos' will be initialized after [-Wreorder] 102 | size_t buf_r_pos; | ^~~~~~~~~ fileservplugin/PipeFileBase.h:101:16: warning: 'size_t PipeFileBase::buf_w_reserved_pos' [-Wreorder] 101 | size_t buf_w_reserved_pos; | ^~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:19: fileservplugin/PipeFileBase.h:109:15: warning: 'PipeFileBase::stream_size' will be initialized after [-Wreorder] 109 | int64 stream_size; | ^~~~~~~~~~~ fileservplugin/PipeFileBase.h:103:14: warning: 'bool PipeFileBase::buf_circle' [-Wreorder] 103 | bool buf_circle; | ^~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::SeekInt(_i64)': fileservplugin/PipeFileBase.cpp:94:39: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 94 | else if (seeked_r_pos >= buffer_size && | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::readStderr()': fileservplugin/PipeFileBase.cpp:426:31: warning: unused variable 'timems' [-Wunused-variable] 426 | int64 timems = little_endian(Server->getTimeMS()); | ^~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'void PipeFileBase::readBuf(char*, size_t)': fileservplugin/PipeFileBase.cpp:480:23: warning: unused variable 'ptr_str' [-Wunused-variable] 480 | char* ptr_str = buffer.data(); | ^~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/FileServFactory.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/FileServFactory.cpp: In member function 'virtual void ExecThread::operator()()': fileservplugin/FileServFactory.cpp:51:17: warning: deleting object of polymorphic class type 'ExecThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/FileServFactory.cpp:22: fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -c -o fileservplugin/urbackupsrv-CClientThread.o `test -f 'fileservplugin/CClientThread.cpp' || echo './'`fileservplugin/CClientThread.cpp In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CClientThread.cpp:26: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CTCPFileServ.h:13, from fileservplugin/CClientThread.cpp:26: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) | fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/CClientThread.cpp:25: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:84:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:33: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:31:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 31 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeFileBase.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(int, CTCPFileServ*)': fileservplugin/CClientThread.h:209:28: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 209 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:204:14: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 204 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CClientThread::CClientThread(SOCKET pSocket, CTCPFileServ* pParent) | ^~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(IPipe*, CTCPFileServ*, std::vector*)': fileservplugin/CClientThread.h:209:28: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 209 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:204:14: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 204 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:140:1: warning: when initialized here [-Wreorder] 140 | CClientThread::CClientThread(IPipe *pClientpipe, CTCPFileServ* pParent, std::vector* extra_buffer) | ^~~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::ProcessPacket(CRData*)': fileservplugin/CClientThread.cpp:1226:75: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1226 | if (rc == 0 && rc < count && errno == 0) //other process made the file smaller | ~~~^~~~~~~ fileservplugin/CClientThread.cpp:1121:38: warning: unused variable 'has_error' [-Wunused-variable] 1121 | bool has_error=false; | ^~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileBlockdiff(CRData*, bool)': fileservplugin/CClientThread.cpp:1824:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1824 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:1976:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1976 | srv_file = Server->openFileFromHandle((void*)hFile, filename); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileHashAndMetadata(CRData*)': fileservplugin/CClientThread.cpp:2196:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2196 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:2196:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2196 | 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:22: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2350 | if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2366:32: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2366 | if (rc == SOCKET_ERROR) fileservplugin/CClientThread.cpp: In static member function 'static std::string CClientThread::getDummyMetadata(std::string, int64, int64, bool)': fileservplugin/CClientThread.cpp:2601:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2601 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendSparseExtents(const std::vector&)': fileservplugin/CClientThread.cpp:2855:15: warning: unused variable 'last_sparse_pos' [-Wunused-variable] 2855 | int64 last_sparse_pos = 0; | ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2856:16: warning: unused variable 'curr_sparse_ext' [-Wunused-variable] 2856 | size_t curr_sparse_ext = 0; | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:34: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileUnix.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:13: warning: 'PipeFile::hStderr' will be initialized after [-Wreorder] 43 | int hStderr; | ^~~~~~~ fileservplugin/PipeFile.h:42:13: warning: 'int PipeFile::hStdout' [-Wreorder] 42 | int hStdout; | ^~~~~~~ fileservplugin/PipeFileUnix.cpp:48:1: warning: when initialized here [-Wreorder] 48 | PipeFile::PipeFile(const std::string& pCmd) | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:2, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:21: urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:30: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:30: urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:33: urbackupserver/ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:40: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:44: urbackupserver/../urbackupcommon/WalCheckpointThread.h:45:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'virtual void ServerCleanupThread::operator()()': urbackupserver/server_cleanup.cpp:101:23: warning: enumeration value 'ECleanupAction_None' not handled in switch [-Wswitch] 101 | switch(cleanup_action.action) | ^ urbackupserver/server_cleanup.cpp:142:17: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 142 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp:157:25: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 157 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp:278:33: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 278 | 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] 390 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp: In function 'bool {anonymous}::copy_db_file(std::string, std::string, IDatabase::IBackupProgress*, std::string&, bool)': urbackupserver/server_cleanup.cpp:1714:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1714 | std::auto_ptr dst_file(Server->openFile(os_file_prefix(dst), MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/server_cleanup.h:11, from urbackupserver/server_cleanup.cpp:21: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'void ServerCleanupThread::removeFileBackupSql(int)': urbackupserver/server_cleanup.cpp:2576:37: warning: unused variable 'abc' [-Wunused-variable] 2576 | int abc = 5; | ^~~ urbackupserver/server_cleanup.cpp:2589:37: warning: unused variable 'abc' [-Wunused-variable] 2589 | int abc = 5; | ^~~ urbackupserver/server_cleanup.cpp:2602:37: warning: unused variable 'abc' [-Wunused-variable] 2602 | 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] 271 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:11, from fileservplugin/PipeSessions.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:84:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:19: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:142:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 142 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:28: fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.cpp: In member function 'virtual void PipeSessions::operator()()': fileservplugin/PipeSessions.cpp:341:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 340 | if( !it->second.retrieving_exit_info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 341 | && (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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 492 | std::auto_ptr waitpipe(Server->createMemoryPipe()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:2, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25, from fileservplugin/PipeFileTar.cpp:1: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.h:8, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: At global scope: fileservplugin/PipeFileTar.h:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:142:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 142 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:5: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(const string&, int, int64, std::string, const string&, const string&)': fileservplugin/PipeFileTar.h:144:24: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 144 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:135:15: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 135 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:152:21: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 152 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:147:15: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 147 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:155:21: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 155 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:140:15: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 140 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(PipeFileTar::PipeFileStore*, const PipeFileTar::STarFile&, int64, int, int64, std::string, const string&, const string&)': fileservplugin/PipeFileTar.h:144:24: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 144 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:137:18: warning: 'PipeFileTar::STarFile PipeFileTar::tar_file' [-Wreorder] 137 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:137:18: warning: 'PipeFileTar::tar_file' will be initialized after [-Wreorder] 137 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.h:135:15: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 135 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:152:21: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 152 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:147:15: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 147 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileTar.h:155:21: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 155 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:140:15: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 140 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp: In member function 'virtual _u32 PipeFileTar::Read(char*, _u32, bool*)': fileservplugin/PipeFileTar.cpp:221:15: warning: unused variable 'pos' [-Wunused-variable] 221 | int64 pos = tar_file.pos; | ^~~ fileservplugin/PipeFileTar.cpp: In member function 'std::string PipeFileTar::buildCurrMetadata()': fileservplugin/PipeFileTar.cpp:368:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 368 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileTar.h:4, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.h:8, from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:84:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr errpipe; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr token_callback; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:28: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h: In constructor 'FileMetadataPipe::FileMetadataPipe(IPipe*, const string&)': fileservplugin/FileMetadataPipe.h:115:16: warning: 'FileMetadataPipe::pipe' will be initialized after [-Wreorder] 115 | IPipe* pipe; | ^~~~ fileservplugin/FileMetadataPipe.h:71:21: warning: 'FileMetadataPipe::BackupState FileMetadataPipe::backup_state' [-Wreorder] 71 | BackupState backup_state; | ^~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/FileMetadataPipe.h:114:30: warning: 'FileMetadataPipe::errpipe' will be initialized after [-Wreorder] 114 | std::auto_ptr errpipe; | ^~~~~~~ fileservplugin/FileMetadataPipe.h:106:30: warning: 'std::auto_ptr FileMetadataPipe::metadata_file' [-Wreorder] 106 | std::auto_ptr metadata_file; | ^~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp: In function 'bool {anonymous}::get_xattr(const string&, const string&, std::string&)': fileservplugin/FileMetadataPipe.cpp:1078:35: 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] 1078 | if(bufsize(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urlplugin/IUrlFactory.h:6, from urlplugin/dllmain.cpp:48: urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from urlplugin/dllmain.cpp:45: urlplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urlplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urlplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileExt.cpp:1: fileservplugin/PipeFileExt.h: In constructor 'PipeFileExt::PipeFileExt(IPipeFileExt*, std::string)': fileservplugin/PipeFileExt.h:21:37: warning: 'PipeFileExt::file_ext' will be initialized after [-Wreorder] 21 | std::auto_ptr file_ext; | ^~~~~~~~ fileservplugin/PipeFileExt.cpp:4:46: warning: base 'PipeFileBase' [-Wreorder] 4 | : file_ext(file_ext), PipeFileBase(fn) | ^ fileservplugin/PipeFileExt.cpp:3:1: warning: when initialized here [-Wreorder] 3 | PipeFileExt::PipeFileExt(IPipeFileExt * file_ext, std::string fn) | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/treediff/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/treediff/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/TreeReader.cpp: In member function 'bool TreeReader::readTree(const string&)': urbackupserver/treediff/TreeReader.cpp:156:14: warning: unused variable 'isdir' [-Wunused-variable] 156 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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] 1 | #pragma warning ( disable:4005 ) | fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) | In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:31:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 31 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:210:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, 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++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/ChunkSendThread.h: In constructor 'ChunkSendThread::ChunkSendThread(CClientThread*)': fileservplugin/ChunkSendThread.h:40:14: warning: 'ChunkSendThread::has_error' will be initialized after [-Wreorder] 40 | bool has_error; | ^~~~~~~~~ fileservplugin/ChunkSendThread.h:34:36: warning: 'IFileServ::CbtHashFileInfo ChunkSendThread::cbt_hash_file_info' [-Wreorder] 34 | IFileServ::CbtHashFileInfo cbt_hash_file_info; | ^~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:63:1: warning: when initialized here [-Wreorder] 63 | ChunkSendThread::ChunkSendThread(CClientThread *parent) | ^~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp: In member function 'virtual void ChunkSendThread::operator()()': fileservplugin/ChunkSendThread.cpp:176:100: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 176 | if(parent->SendInt(sdata.getDataPtr(), sdata.getDataSize(), chunk.requested_filesize<0)!=sdata.getDataSize()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:191:155: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 191 | 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] 233 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6, from fileservplugin/PipeSessions.h:7, from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/../Interface/File.h:165:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: At global scope: cryptoplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:75:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 75 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:69:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 69 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:43:9: warning: when initialized here [-Wreorder] 43 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr conn; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:187:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 187 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:338:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 338 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../ClientMain.h:417:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 417 | std::auto_ptr restore_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/settings.cpp: In function 'void {anonymous}::getGeneralSettings(JSON::Object&, IDatabase*, ServerSettings&)': urbackupserver/serverinterface/settings.cpp:219:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 219 | std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../server_settings.h:7, from urbackupserver/serverinterface/settings.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urlplugin/../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: At global scope: urlplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urlplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urlplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ luaplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ luaplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ luaplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ luaplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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:16: warning: unused variable 'offset' [-Wunused-variable] 94 | 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. -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': snapshot_helper/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': snapshot_helper/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from snapshot_helper/main.cpp:20: snapshot_helper/../Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from snapshot_helper/../Server.h:18, from snapshot_helper/main.cpp:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from snapshot_helper/main.cpp:5: snapshot_helper/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fuseplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fuseplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:24: warning: unused variable 'len' [-Wunused-variable] 116 | size_t len; | ^~~ In file included from fuseplugin/dllmain.cpp:48: fuseplugin/../stringtools.h: At global scope: fuseplugin/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:218:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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 -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 -flto=auto -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::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../Interface/File.h:180:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 180 | 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:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:165:9: warning: when initialized here [-Wreorder] 165 | 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:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 171 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:169:13: warning: 'int STimeSpan::numdays' [-Wreorder] 169 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:166:9: warning: when initialized here [-Wreorder] 166 | 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:41: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 239 | void createSettingsReaders(std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:240:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h:240:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | std::auto_ptr& settings_client, std::auto_ptr& settings_global); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 84 | int64 blocksize; | ^~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:82:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 82 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:68:17: warning: when initialized here [-Wreorder] 68 | 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::string)': urbackupserver/serverinterface/../server_status.h:82:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 82 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:76:13: warning: 'int SProcess::detail_pc' [-Wreorder] 76 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:56:9: warning: when initialized here [-Wreorder] 56 | 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:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 272 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 387 | 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++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'bool backupaccess::get_files_with_tokens(IDatabase*, int*, int, std::string, std::string*, const string&, int, JSON::Object&)': urbackupserver/serverinterface/backups.cpp:832:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 832 | std::auto_ptr f; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'JSON::Object backupaccess::get_image_info(IDatabase*, int, int, int, std::string&, std::vector&)': urbackupserver/serverinterface/backups.cpp:963:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 963 | std::auto_ptr mbrfile(Server->openFile(os_file_prefix(path + ".mbr"), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp:974:60: 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] 974 | if (mbrdata.size() == mbrfile->Size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/backups.cpp:996:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 996 | std::auto_ptr vhdfile; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7, from urbackupserver/serverinterface/backups.cpp:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 20 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 19 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 17 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 16 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:23: urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:192:14: warning: 'bool {anonymous}::is_disk_mbr(const string&)' defined but not used [-Wunused-function] 192 | 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:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | 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::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 165 | 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 -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 -flto=auto -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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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 -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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:49: warning: 'AESGCMEncryption::encryption_filter' will be initialized after [-Wreorder] 31 | CryptoPP::AuthenticatedEncryptionFilter encryption_filter; | ^~~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.h:25:14: warning: 'bool AESGCMEncryption::iv_done' [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ In file included from cryptoplugin/AESGCMEncryption.cpp:19: cryptoplugin/AESGCMEncryption.h:25:14: warning: 'AESGCMEncryption::iv_done' will be initialized after [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.h:24:16: warning: 'size_t AESGCMEncryption::end_marker_state' [-Wreorder] 24 | size_t end_marker_state; | ^~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-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 -flto=auto -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:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 210 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': mount_helper/../stringtools.h:224:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 224 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': mount_helper/../stringtools.h:298:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 298 | 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:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from mount_helper/main.cpp:22: mount_helper/../Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from mount_helper/../Server.h:18, from mount_helper/main.cpp:22: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ mount_helper/main.cpp: In function 'bool mount_linux_loop(const string&, int, int64, int64)': mount_helper/main.cpp:312:13: warning: unused variable 'last_loopd' [-Wunused-variable] 312 | 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:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ In file included from mount_helper/main.cpp:4: mount_helper/../stringtools.h:306:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 306 | 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] 292 | float big_endian(float x) | ^~~~~~~~~~ mount_helper/../stringtools.h:280:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 280 | int64 big_endian(int64 x) | ^~~~~~~~~~ mount_helper/../stringtools.h:268:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 268 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ mount_helper/../stringtools.h:256:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 256 | 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] 244 | 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] 232 | 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] 218 | double little_endian(double x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:204:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 204 | float little_endian(float x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:192:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 192 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:180:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 180 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:168:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 168 | 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] 156 | 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] 144 | 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-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 -flto=auto -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++ -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 -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 -flto=auto -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. -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 -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 -flto=auto -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 -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 -flto=auto -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-g++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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++ -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 -flto=auto -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 -lzstd -llmdb -L/usr/lib -lsqlite3 -llmdb -lz -llmdb urbackupserver/server_channel.h:15:7: warning: type 'struct ServerChannelThread' violates the C++ One Definition Rule [-Wodr] 15 | class ServerChannelThread : public IThread | ^ urbackupserver/server_channel.h:15:7: note: a different type is defined in another translation unit 15 | class ServerChannelThread : public IThread | ^ urbackupserver/server_channel.h:93:33: note: the first difference of corresponding definitions is field 'keepalive_thread' 93 | SessionKeepaliveThread* keepalive_thread; | ^ urbackupserver/server_channel.h:93:33: note: a field of same name but different type is defined in another translation unit 93 | SessionKeepaliveThread* keepalive_thread; | ^ urbackupserver/server_channel.h:12:7: note: type 'struct SessionKeepaliveThread' defined in anonymous namespace cannot match across the translation unit boundary 12 | class SessionKeepaliveThread; | ^ urbackupserver/server_channel.cpp:72:15: note: the incompatible type defined in another translation unit 72 | class SessionKeepaliveThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: type 'struct FileMetadataDownloadThread' violates the C++ One Definition Rule [-Wodr] 38 | class FileMetadataDownloadThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:38:7: note: a different type is defined in another translation unit 38 | class FileMetadataDownloadThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:116:34: note: the first difference of corresponding definitions is field 'saved_folder_items' 116 | std::vector saved_folder_items; | ^ urbackupserver/FileMetadataDownloadThread.h:116:34: note: a field of same name but different type is defined in another translation unit 116 | std::vector saved_folder_items; | ^ /usr/include/c++/11/bits/stl_vector.h:389:11: note: type 'struct vector' defined in anonymous namespace cannot match across the translation unit boundary 389 | class vector : protected _Vector_base<_Tp, _Alloc> | ^ urbackupserver/ServerDownloadThread.h:142:7: warning: type 'struct ServerDownloadThread' violates the C++ One Definition Rule [-Wodr] 142 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupserver/ServerDownloadThread.h:142:7: note: a different type is defined in another translation unit 142 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupserver/ServerDownloadThread.h:274:32: note: the first difference of corresponding definitions is field 'dl_queue' 274 | std::deque dl_queue; | ^ urbackupserver/ServerDownloadThread.h:274:32: note: a field of same name but different type is defined in another translation unit 274 | std::deque dl_queue; | ^ /usr/include/c++/11/bits/stl_deque.h:766:11: note: type 'struct deque' defined in anonymous namespace cannot match across the translation unit boundary 766 | class deque : protected _Deque_base<_Tp, _Alloc> | ^ urbackupserver/FileMetadataDownloadThread.h:71:14: warning: type of 'hasMetadataId' does not match original declaration [-Wlto-type-mismatch] 71 | bool hasMetadataId(int64 id); | ^ urbackupserver/FileMetadataDownloadThread.h:71:14: warning: type of 'hasMetadataId' does not match original declaration [-Wlto-type-mismatch] 71 | bool hasMetadataId(int64 id); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1499:6: note: 'hasMetadataId' was previously declared here 1499 | bool FileMetadataDownloadThread::hasMetadataId( int64 id ) | ^ urbackupserver/FileMetadataDownloadThread.cpp:1499:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:41:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 41 | FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, int backupid, int clientid, | ^ urbackupserver/FileMetadataDownloadThread.cpp:38:1: note: '__ct_comp ' was previously declared here 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^ urbackupserver/FileMetadataDownloadThread.cpp:38:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:63:14: warning: type of 'isDownloading' does not match original declaration [-Wlto-type-mismatch] 63 | bool isDownloading(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1471:6: note: 'isDownloading' was previously declared here 1471 | bool FileMetadataDownloadThread::isDownloading() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1471:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:69:14: warning: type of 'forceStart' does not match original declaration [-Wlto-type-mismatch] 69 | void forceStart(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1488:6: note: 'forceStart' was previously declared here 1488 | void FileMetadataDownloadThread::forceStart() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1488:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:73:15: warning: type of 'getTransferredBytes' does not match original declaration [-Wlto-type-mismatch] 73 | int64 getTransferredBytes(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1521:7: note: 'getTransferredBytes' was previously declared here 1521 | int64 FileMetadataDownloadThread::getTransferredBytes() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1521:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:61:14: warning: type of 'shutdown' does not match original declaration [-Wlto-type-mismatch] 61 | void shutdown(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1332:6: note: 'shutdown' was previously declared here 1332 | void FileMetadataDownloadThread::shutdown() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1332:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:55:14: warning: type of 'getHasError' does not match original declaration [-Wlto-type-mismatch] 55 | bool getHasError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1314:6: note: 'getHasError' was previously declared here 1314 | bool FileMetadataDownloadThread::getHasError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1314:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:59:14: warning: type of 'getHasTimeoutError' does not match original declaration [-Wlto-type-mismatch] 59 | bool getHasTimeoutError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1494:6: note: 'getHasTimeoutError' was previously declared here 1494 | bool FileMetadataDownloadThread::getHasTimeoutError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1494:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:57:14: warning: type of 'getHasFatalError' does not match original declaration [-Wlto-type-mismatch] 57 | bool getHasFatalError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1319:6: note: 'getHasFatalError' was previously declared here 1319 | bool FileMetadataDownloadThread::getHasFatalError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1319:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:45:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 45 | ~FileMetadataDownloadThread(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1324:1: note: '__dt_comp ' was previously declared here 1324 | FileMetadataDownloadThread::~FileMetadataDownloadThread() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1324:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:75:14: warning: type of 'setProgressLogEnabled' does not match original declaration [-Wlto-type-mismatch] 75 | void setProgressLogEnabled(bool b); | ^ urbackupserver/FileMetadataDownloadThread.h:75:14: warning: type of 'setProgressLogEnabled' does not match original declaration [-Wlto-type-mismatch] 75 | void setProgressLogEnabled(bool b); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1526:6: note: 'setProgressLogEnabled' was previously declared here 1526 | void FileMetadataDownloadThread::setProgressLogEnabled(bool b) | ^ urbackupserver/FileMetadataDownloadThread.cpp:1526:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:152:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 152 | ~ServerDownloadThread(); | ^ urbackupserver/ServerDownloadThread.h:152:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 152 | ~ServerDownloadThread(); | ^ urbackupserver/ServerDownloadThread.h:152:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 152 | ~ServerDownloadThread(); | ^ urbackupserver/ServerDownloadThread.cpp:71:1: note: '__dt_comp ' was previously declared here 71 | ServerDownloadThread::~ServerDownloadThread() | ^ urbackupserver/ServerDownloadThread.cpp:71:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:145:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 145 | 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.h:145:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 145 | 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:45:1: note: '__ct_comp ' was previously declared here 45 | 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:45:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:156:14: warning: type of 'addToQueueFull' does not match original declaration [-Wlto-type-mismatch] 156 | void addToQueueFull(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, const std::string &os_path, | ^ urbackupserver/ServerDownloadThread.h:156:14: warning: type of 'addToQueueFull' does not match original declaration [-Wlto-type-mismatch] 156 | void addToQueueFull(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, const std::string &os_path, | ^ urbackupserver/ServerDownloadThread.cpp:252:6: note: 'addToQueueFull' was previously declared here 252 | void ServerDownloadThread::addToQueueFull(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, | ^ urbackupserver/ServerDownloadThread.cpp:252:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:181:14: warning: type of 'isDownloadPartial' does not match original declaration [-Wlto-type-mismatch] 181 | bool isDownloadPartial(size_t id); | ^ urbackupserver/ServerDownloadThread.h:181:14: warning: type of 'isDownloadPartial' does not match original declaration [-Wlto-type-mismatch] 181 | bool isDownloadPartial(size_t id); | ^ urbackupserver/ServerDownloadThread.cpp:1067:6: note: 'isDownloadPartial' was previously declared here 1067 | bool ServerDownloadThread::isDownloadPartial( size_t id ) | ^ urbackupserver/ServerDownloadThread.cpp:1067:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:179:14: warning: type of 'isDownloadOk' does not match original declaration [-Wlto-type-mismatch] 179 | bool isDownloadOk(size_t id); | ^ urbackupserver/ServerDownloadThread.h:179:14: warning: type of 'isDownloadOk' does not match original declaration [-Wlto-type-mismatch] 179 | bool isDownloadOk(size_t id); | ^ urbackupserver/ServerDownloadThread.cpp:1061:6: note: 'isDownloadOk' was previously declared here 1061 | bool ServerDownloadThread::isDownloadOk( size_t id ) | ^ urbackupserver/ServerDownloadThread.cpp:1061:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:169:14: warning: type of 'queueSkip' does not match original declaration [-Wlto-type-mismatch] 169 | void queueSkip(); | ^ urbackupserver/ServerDownloadThread.h:169:14: warning: type of 'queueSkip' does not match original declaration [-Wlto-type-mismatch] 169 | void queueSkip(); | ^ urbackupserver/ServerDownloadThread.cpp:1559:6: note: 'queueSkip' was previously declared here 1559 | void ServerDownloadThread::queueSkip() | ^ urbackupserver/ServerDownloadThread.cpp:1559:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:167:14: warning: type of 'queueStop' does not match original declaration [-Wlto-type-mismatch] 167 | void queueStop(); | ^ urbackupserver/ServerDownloadThread.h:167:14: warning: type of 'queueStop' does not match original declaration [-Wlto-type-mismatch] 167 | void queueStop(); | ^ urbackupserver/ServerDownloadThread.cpp:1051:6: note: 'queueStop' was previously declared here 1051 | void ServerDownloadThread::queueStop() | ^ urbackupserver/ServerDownloadThread.cpp:1051:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:165:14: warning: type of 'addToQueueStopShadowcopy' does not match original declaration [-Wlto-type-mismatch] 165 | void addToQueueStopShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.h:165:14: warning: type of 'addToQueueStopShadowcopy' does not match original declaration [-Wlto-type-mismatch] 165 | void addToQueueStopShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.cpp:372:6: note: 'addToQueueStopShadowcopy' was previously declared here 372 | void ServerDownloadThread::addToQueueStopShadowcopy(const std::string& fn) | ^ urbackupserver/ServerDownloadThread.cpp:372:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:163:14: warning: type of 'addToQueueStartShadowcopy' does not match original declaration [-Wlto-type-mismatch] 163 | void addToQueueStartShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.h:163:14: warning: type of 'addToQueueStartShadowcopy' does not match original declaration [-Wlto-type-mismatch] 163 | void addToQueueStartShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.cpp:358:6: note: 'addToQueueStartShadowcopy' was previously declared here 358 | void ServerDownloadThread::addToQueueStartShadowcopy(const std::string& fn) | ^ urbackupserver/ServerDownloadThread.cpp:358:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:160:14: warning: type of 'addToQueueChunked' does not match original declaration [-Wlto-type-mismatch] 160 | void addToQueueChunked(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, | ^ urbackupserver/ServerDownloadThread.cpp:313:6: note: 'addToQueueChunked' was previously declared here 313 | void ServerDownloadThread::addToQueueChunked(size_t id, const std::string &fn, const std::string &short_fn, | ^ urbackupserver/ServerDownloadThread.cpp:313:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:216:14: warning: type of 'deleteTempFolder' does not match original declaration [-Wlto-type-mismatch] 216 | bool deleteTempFolder(); | ^ urbackupserver/ServerDownloadThread.h:216:14: warning: type of 'deleteTempFolder' does not match original declaration [-Wlto-type-mismatch] 216 | bool deleteTempFolder(); | ^ urbackupserver/ServerDownloadThread.cpp:1545:6: note: 'deleteTempFolder' was previously declared here 1545 | bool ServerDownloadThread::deleteTempFolder() | ^ urbackupserver/ServerDownloadThread.cpp:1545:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:206:14: warning: type of 'shouldBackoff' does not match original declaration [-Wlto-type-mismatch] 206 | bool shouldBackoff(); | ^ urbackupserver/ServerDownloadThread.h:206:14: warning: type of 'shouldBackoff' does not match original declaration [-Wlto-type-mismatch] 206 | bool shouldBackoff(); | ^ urbackupserver/ServerDownloadThread.cpp:1903:6: note: 'shouldBackoff' was previously declared here 1903 | bool ServerDownloadThread::shouldBackoff() | ^ urbackupserver/ServerDownloadThread.cpp:1903:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:204:14: warning: type of 'hasTimeout' does not match original declaration [-Wlto-type-mismatch] 204 | bool hasTimeout(); | ^ urbackupserver/ServerDownloadThread.h:204:14: warning: type of 'hasTimeout' does not match original declaration [-Wlto-type-mismatch] 204 | bool hasTimeout(); | ^ urbackupserver/ServerDownloadThread.cpp:1898:6: note: 'hasTimeout' was previously declared here 1898 | bool ServerDownloadThread::hasTimeout() | ^ urbackupserver/ServerDownloadThread.cpp:1898:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:214:14: warning: type of 'getHasDiskError' does not match original declaration [-Wlto-type-mismatch] 214 | bool getHasDiskError(); | ^ urbackupserver/ServerDownloadThread.h:214:14: warning: type of 'getHasDiskError' does not match original declaration [-Wlto-type-mismatch] 214 | bool getHasDiskError(); | ^ urbackupserver/ServerDownloadThread.cpp:1540:6: note: 'getHasDiskError' was previously declared here 1540 | bool ServerDownloadThread::getHasDiskError() | ^ urbackupserver/ServerDownloadThread.cpp:1540:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:212:16: warning: type of 'getNumIssues' does not match original declaration [-Wlto-type-mismatch] 212 | size_t getNumIssues(); | ^ urbackupserver/ServerDownloadThread.h:212:16: warning: type of 'getNumIssues' does not match original declaration [-Wlto-type-mismatch] 212 | size_t getNumIssues(); | ^ urbackupserver/ServerDownloadThread.cpp:1535:8: note: 'getNumIssues' was previously declared here 1535 | size_t ServerDownloadThread::getNumIssues() | ^ urbackupserver/ServerDownloadThread.cpp:1535:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:210:16: warning: type of 'getNumEmbeddedMetadataFiles' does not match original declaration [-Wlto-type-mismatch] 210 | size_t getNumEmbeddedMetadataFiles(); | ^ urbackupserver/ServerDownloadThread.h:210:16: warning: type of 'getNumEmbeddedMetadataFiles' does not match original declaration [-Wlto-type-mismatch] 210 | size_t getNumEmbeddedMetadataFiles(); | ^ urbackupserver/ServerDownloadThread.cpp:1530:8: note: 'getNumEmbeddedMetadataFiles' was previously declared here 1530 | size_t ServerDownloadThread::getNumEmbeddedMetadataFiles() | ^ urbackupserver/ServerDownloadThread.cpp:1530:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:208:14: warning: type of 'sleepQueue' does not match original declaration [-Wlto-type-mismatch] 208 | bool sleepQueue(); | ^ urbackupserver/ServerDownloadThread.h:208:14: warning: type of 'sleepQueue' does not match original declaration [-Wlto-type-mismatch] 208 | bool sleepQueue(); | ^ urbackupserver/ServerDownloadThread.cpp:1518:6: note: 'sleepQueue' was previously declared here 1518 | bool ServerDownloadThread::sleepQueue() | ^ urbackupserver/ServerDownloadThread.cpp:1518:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:185:16: warning: type of 'getMaxOkId' does not match original declaration [-Wlto-type-mismatch] 185 | size_t getMaxOkId(); | ^ urbackupserver/ServerDownloadThread.cpp:1073:8: note: 'getMaxOkId' was previously declared here 1073 | size_t ServerDownloadThread::getMaxOkId() | ^ urbackupserver/ServerDownloadThread.cpp:1073:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:187:14: warning: type of 'isOffline' does not match original declaration [-Wlto-type-mismatch] 187 | bool isOffline(); | ^ urbackupserver/ServerDownloadThread.h:187:14: warning: type of 'isOffline' does not match original declaration [-Wlto-type-mismatch] 187 | bool isOffline(); | ^ urbackupserver/ServerDownloadThread.cpp:1045:6: note: 'isOffline' was previously declared here 1045 | bool ServerDownloadThread::isOffline() | ^ urbackupserver/ServerDownloadThread.cpp:1045:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used 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.81830 + 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: (from :0) ./var/lib: (from :0) ./usr/lib: (from :0) 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) Processing files: urbackup-server-2.4.13-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.12167 + 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.BXni7z find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.31oNxN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.o0uYPH Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iBOk0Y 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.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(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, 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), libgcc_s.so.1(GCC_3.3.1)(64bit), liblua-5.3.so()(64bit) >= set:lf0Qi9BTUIhAmq0vkbp8cdTer09y9cDNMnF1fskRYGVlFzAsCDMKvJtSZ5Su49wqTCihuVVBO2YLo9ndVEbAM8jZ7GXkbYTwfHcaUthZ7zL2, libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.29)(64bit), libsqlite3.so.0()(64bit) >= set:oibW0asIihaf4LLHEep61tMBR4r2cQgEMPou6vXYRViGBecRcVJGz9PZmXCOla0HpddDzYcls4Gshgaj5TffYk2Z2PVwJBMmR2D9fhQLmvpFd42jHzHk6WnPZlGSPMAnmEtrn6rc9LViykYG4XQFqA5ZLznhd, 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.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.26)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(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.cZOKTt 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.BAK0ML find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vhq5C9 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.756EBZ 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.KocaYm 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.xivHc8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.y6o5gI 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(libfuse.so.2), debug64(libgcc_s.so.1), debug64(liblua-5.3.so), debug64(libm.so.6), 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) 675.85user 57.02system 2:44.57elapsed 445%CPU (0avgtext+0avgdata 355320maxresident)k 0inputs+0outputs (0major+21985734minor)pagefaults 0swaps 680.67user 59.71system 2:51.35elapsed 432%CPU (0avgtext+0avgdata 355320maxresident)k 0inputs+0outputs (30610major+22360374minor)pagefaults 0swaps --- urbackup-server-2.4.13-alt3.x86_64.rpm.repo 2021-11-14 10:25:36.000000000 +0000 +++ urbackup-server-2.4.13-alt3.x86_64.rpm.hasher 2021-12-01 02:33:15.373552338 +0000 @@ -231,3 +231,3 @@ File: /usr/bin/urbackup_snapshot_helper 104710 root:urbackup e4c87a3e537ad4ae306342e6b8064054 -File: /usr/bin/urbackupsrv 100755 root:root 746da61c120704236bdeb15c7d5c5320 +File: /usr/bin/urbackupsrv 100755 root:root 076721b7c60ba5ca6626ab61c040362a File: /usr/lib/firewalld/services/urbackup-server.xml 100640 root:root ccc3438ce6b6ae22ac70a03ef71313eb @@ -399,2 +399,2 @@ File: /var/log/urbackup.log 100644 root:root -RPMIdentity: 613166ab65724536d808f9b370735400ea1b4a3b3fe8d89e505abf8b946b9d4d92535f880b3cd18cb9d1871e70ba698ebf3d77d2dd513e8014c0b3c7913b8e15 +RPMIdentity: d11edba1262c6398dc1402a5991a6c91841fd080ad0ecbd3e4692f3ce87158c932c928247eecee46bce93da8ce3f61327671899b1622f88922a9bf2722810425 --- urbackup-server-debuginfo-2.4.13-alt3.x86_64.rpm.repo 2021-11-14 10:25:36.000000000 +0000 +++ urbackup-server-debuginfo-2.4.13-alt3.x86_64.rpm.hasher 2021-12-01 02:33:15.434553192 +0000 @@ -6,5 +6,5 @@ /usr/lib/debug/.build-id/49/661b5945e326cbffc28f7d517940111dc981bd.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -/usr/lib/debug/.build-id/a0 40755 root:root -/usr/lib/debug/.build-id/a0/da3d7ae8f8f12d0e6a4dbf2c3bd0a3e141df51 120777 root:root ../../../../bin/urbackupsrv -/usr/lib/debug/.build-id/a0/da3d7ae8f8f12d0e6a4dbf2c3bd0a3e141df51.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +/usr/lib/debug/.build-id/ac 40755 root:root +/usr/lib/debug/.build-id/ac/cdc0cad81554d3d4fb35ea449f0390dcd9198f 120777 root:root ../../../../bin/urbackupsrv +/usr/lib/debug/.build-id/ac/cdc0cad81554d3d4fb35ea449f0390dcd9198f.debug 120777 root:root ../../usr/bin/urbackupsrv.debug /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root @@ -648,8 +648,8 @@ File: /usr/lib/debug/.build-id/49/661b5945e326cbffc28f7d517940111dc981bd.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -File: /usr/lib/debug/.build-id/a0 40755 root:root -File: /usr/lib/debug/.build-id/a0/da3d7ae8f8f12d0e6a4dbf2c3bd0a3e141df51 120777 root:root ../../../../bin/urbackupsrv -File: /usr/lib/debug/.build-id/a0/da3d7ae8f8f12d0e6a4dbf2c3bd0a3e141df51.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +File: /usr/lib/debug/.build-id/ac 40755 root:root +File: /usr/lib/debug/.build-id/ac/cdc0cad81554d3d4fb35ea449f0390dcd9198f 120777 root:root ../../../../bin/urbackupsrv +File: /usr/lib/debug/.build-id/ac/cdc0cad81554d3d4fb35ea449f0390dcd9198f.debug 120777 root:root ../../usr/bin/urbackupsrv.debug File: /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root 21ec4a4aab33291a7e7b4b721a147a8a File: /usr/lib/debug/usr/bin/urbackup_snapshot_helper.debug 100644 root:root f9bbd899eac37b9979a21f87e29637a4 -File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root db55186ecefa63325fcc782b8edf1760 +File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root 4f6b8d07952c0d7ee505273d3b03c3e9 File: /usr/src/debug/urbackup-server-2.4.13 40755 root:root @@ -1270,2 +1270,2 @@ File: /usr/src/debug/urbackup-server-2.4.13/utf8/utf8/core.h 100644 root:root d67547f556cfc99ab023cbe67a724c30 -RPMIdentity: 5c94e5a5b5bf6dff57d15d31871f58fb42b4b376f1f10259efbf46ecefc5b06e33d01400c05f7a96e3e5a51c02fa818cc702d382aaa250b00b105570b022829c +RPMIdentity: 7f464c3e1ab289ddfa1944a1af43de8f1d8a76f2913192a1facb328acd23795aa424b6640772f074deb291291cfdc26afea5d3a04bace4e95f3057bc434b0774