=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for boxbackup-server-0.11.1nb15 (cd bin/bbackupd; gmake RELEASE=1) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupd' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/win32' [CXX] emu.cpp [CXX] getopt_long.cpp [AR] ../../release/lib/win32/win32.a [RANLIB] ../../release/lib/win32/win32.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/win32' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/common' [CXX] BoxException.cpp [CXX] BoxTime.cpp [CXX] BoxTimeToText.cpp [CXX] BufferedStream.cpp [CXX] BufferedWriteStream.cpp [CXX] CollectInBufferStream.cpp [CXX] Configuration.cpp In file included from Configuration.cpp:78: Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.cpp:249:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 249 | std::auto_ptr Configuration::LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.cpp: In static member function 'static std::auto_ptr Configuration::LoadAndVerify(const std::string&, const ConfigurationVerify*, std::string&)': Configuration.cpp:264:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 264 | std::auto_ptr apConfig( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.cpp:277:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 277 | return std::auto_ptr(0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.cpp:287:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 287 | return std::auto_ptr(0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.cpp: In member function 'bool Configuration::Verify(const ConfigurationVerify&, const std::string&, std::string&)': Configuration.cpp:781:50: warning: unused variable 'r' [-Wunused-variable] 781 | uint32_t r = ::strtoul(val, &end, 0); | ^ [CXX] ConversionString.cpp [CXX] DebugAssertFailed.cpp [CXX] DebugMemLeakFinder.cpp [CXX] DebugPrintf.cpp [CXX] EventWatchFilesystemObject.cpp [CXX] ExcludeList.cpp In file included from ExcludeList.cpp:83: Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] FdGetLine.cpp [CXX] FileModificationTime.cpp [CXX] FileStream.cpp [CXX] IOStream.cpp [CXX] IOStreamGetLine.cpp [CXX] InvisibleTempFileStream.cpp [CXX] Logging.cpp [CXX] MemBlockStream.cpp [CXX] NamedLock.cpp [CXX] PartialReadStream.cpp [CXX] PathUtils.cpp [CXX] ReadGatherStream.cpp [CXX] ReadLoggingStream.cpp [CXX] StreamableMemBlock.cpp [CXX] Test.cpp [CXX] Timer.cpp Timer.cpp: In static member function 'static void Timers::Cleanup()': Timer.cpp:146:21: warning: unused variable 'result' [-Wunused-variable] 146 | int result = ::setitimer(ITIMER_REAL, &timeout, NULL); | ^~~~~~ [CXX] UnixUser.cpp In file included from UnixUser.cpp:70: UnixUser.cpp: In destructor 'UnixUser::~UnixUser()': Box.h:173:17: warning: 'throw' will always call 'terminate' [-Wterminate] 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ UnixUser.cpp:143:25: note: in expansion of macro 'THROW_EXCEPTION' 143 | THROW_EXCEPTION(CommonException, CouldNotRestoreProcessUser) | ^~~~~~~~~~~~~~~ Box.h:173:17: note: in C++11 destructors default to 'noexcept' 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ UnixUser.cpp:143:25: note: in expansion of macro 'THROW_EXCEPTION' 143 | THROW_EXCEPTION(CommonException, CouldNotRestoreProcessUser) | ^~~~~~~~~~~~~~~ [CXX] Utils.cpp [CXX] WaitForEvent.cpp [CXX] ZeroStream.cpp [CXX] autogen_CommonException.cpp [CXX] autogen_ConversionException.cpp [AR] ../../release/lib/common/common.a [RANLIB] ../../release/lib/common/common.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/common' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/compress' [CXX] CompressStream.cpp In file included from CompressStream.cpp:70: Compress.h: In instantiation of 'Compress::~Compress() [with bool Compressing = false]': CompressStream.cpp:138:45: required from here ../../lib/common/Box.h:173:17: warning: 'throw' will always call 'terminate' [-Wterminate] 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ ../../lib/common/Box.h:173:17: note: in C++11 destructors default to 'noexcept' 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ Compress.h: In instantiation of 'Compress::~Compress() [with bool Compressing = true]': CompressStream.cpp:143:45: required from here ../../lib/common/Box.h:173:17: warning: 'throw' will always call 'terminate' [-Wterminate] 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ ../../lib/common/Box.h:173:17: note: in C++11 destructors default to 'noexcept' 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ [CXX] autogen_CompressException.cpp [AR] ../../release/lib/compress/compress.a [RANLIB] ../../release/lib/compress/compress.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/compress' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/crypto' [CXX] CipherAES.cpp [CXX] CipherBlowfish.cpp [CXX] CipherContext.cpp [CXX] CipherDescription.cpp [CXX] MD5Digest.cpp MD5Digest.cpp: In constructor 'MD5Digest::MD5Digest()': MD5Digest.cpp:80:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | MD5_Init(&md5); | ~~~~~~~~^~~~~~ In file included from MD5Digest.h:73, from MD5Digest.cpp:73: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ MD5Digest.cpp: In member function 'void MD5Digest::Add(const std::string&)': MD5Digest.cpp:93:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | MD5_Update(&md5, rString.c_str(), rString.size()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ MD5Digest.cpp: In member function 'void MD5Digest::Add(const void*, int)': MD5Digest.cpp:98:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | MD5_Update(&md5, pData, Length); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ MD5Digest.cpp: In member function 'void MD5Digest::Finish()': MD5Digest.cpp:103:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | MD5_Final(mDigest, &md5); | ~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ [CXX] Random.cpp Random.cpp: In function 'void Random::Generate(void*, int)': Random.cpp:113:29: warning: 'int RAND_pseudo_bytes(unsigned char*, int)' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 113 | if(RAND_pseudo_bytes((uint8_t*)pOutput, Length) == -1) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Random.cpp:72: /usr/include/openssl/rand.h:79:29: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ [CXX] RollingChecksum.cpp [CXX] autogen_CipherException.cpp [AR] ../../release/lib/crypto/crypto.a [RANLIB] ../../release/lib/crypto/crypto.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/crypto' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/server' [CXX] Daemon.cpp In file included from Daemon.h:82, from Daemon.cpp:92: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Daemon.cpp: In member function 'virtual bool Daemon::Configure(const std::string&)': Daemon.cpp:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr apConfig; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Daemon.cpp: In member function 'virtual bool Daemon::Configure(const Configuration&)': Daemon.cpp:511:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 511 | std::auto_ptr apConf(new Configuration(rConfig)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Daemon.cpp: In member function 'virtual int Daemon::Main(const std::string&)': Daemon.cpp:772:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 772 | std::auto_ptr pconfig( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] LocalProcessStream.cpp In file included from LocalProcessStream.cpp:80: LocalProcessStream.h:76:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr LocalProcessStream(const std::string& rCommandLine, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from LocalProcessStream.h:73: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ LocalProcessStream.cpp:106:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr LocalProcessStream(const std::string& rCommandLine, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ LocalProcessStream.cpp: In function 'std::auto_ptr LocalProcessStream(const std::string&, __pid_t&)': LocalProcessStream.cpp:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr stream(new SocketStream(sv[0])); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] Protocol.cpp In file included from Protocol.cpp:79: Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp:263:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 263 | std::auto_ptr Protocol::Receive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp: In member function 'std::auto_ptr Protocol::Receive()': Protocol.cpp:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr obj(MakeProtocolObject(ntohl(objHeader.mObjType))); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp: At global scope: Protocol.cpp:714:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 714 | std::auto_ptr Protocol::ReceiveStream() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp: In member function 'std::auto_ptr Protocol::ReceiveStream()': Protocol.cpp:736:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 736 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp:742:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 742 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.cpp: In member function 'void Protocol::Handshake()': Protocol.cpp:190:18: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] 190 | ::strncpy(hsSend.mIdent, GetIdentString(), sizeof(hsSend.mIdent)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CXX] ProtocolObject.cpp [CXX] ProtocolUncertainStream.cpp In file included from ProtocolUncertainStream.cpp:73: Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] SSLLib.cpp [CXX] ServerControl.cpp [CXX] Socket.cpp [CXX] SocketStream.cpp [CXX] SocketStreamTLS.cpp [CXX] TLSContext.cpp TLSContext.cpp: In member function 'void TLSContext::Initialise(bool, const char*, const char*, const char*)': TLSContext.cpp:129:63: warning: 'const SSL_METHOD* TLSv1_server_method()' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 129 | mpContext = ::SSL_CTX_new(AsServer?TLSv1_server_method():TLSv1_client_method()); | ~~~~~~~~~~~~~~~~~~~^~ In file included from TLSContext.cpp:73: /usr/include/openssl/ssl.h:2059:50: note: declared here 2059 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ TLSContext.cpp:129:85: warning: 'const SSL_METHOD* TLSv1_client_method()' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 129 | mpContext = ::SSL_CTX_new(AsServer?TLSv1_server_method():TLSv1_client_method()); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/ssl.h:2060:50: note: declared here 2060 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ [CXX] WinNamedPipeStream.cpp [CXX] autogen_ConnectionException.cpp [CXX] autogen_ServerException.cpp [AR] ../../release/lib/server/server.a [RANLIB] ../../release/lib/server/server.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/server' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/backupclient' [CXX] BackupClientCryptoKeys.cpp In file included from BackupClientCryptoKeys.cpp:61: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupClientFileAttributes.cpp [CXX] BackupClientMakeExcludeList.cpp In file included from BackupClientMakeExcludeList.cpp:55: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupClientRestore.cpp In file included from autogen_BackupProtocolClient.h:10, from BackupClientRestore.cpp:67: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/server/Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupClientRestore.cpp:72: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientRestore.cpp: In function 'int BackupClientRestoreDir(BackupProtocolClient&, int64_t, const std::string&, const std::string&, RestoreParams&, RestoreResumeInfo&)': BackupClientRestore.cpp:494:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 494 | std::auto_ptr dirstream(rConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientRestore.cpp:584:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 584 | std::auto_ptr objectStream( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupDaemonConfigVerify.cpp In file included from BackupDaemonConfigVerify.h:55, from BackupDaemonConfigVerify.cpp:53: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemonConfigVerify.cpp:54: ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreDirectory.cpp [CXX] BackupStoreFile.cpp In file included from BackupStoreFile.cpp:67: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp:118:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr BackupStoreFile::EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: In static member function 'static std::auto_ptr BackupStoreFile::EncodeFile(const char*, int64_t, const BackupStoreFilename&, int64_t*, ReadLoggingStream::Logger*, RunStatusProvider*)': BackupStoreFile.cpp:124:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | std::auto_ptr stream(new BackupStoreFileEncodeStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: In static member function 'static void BackupStoreFile::DecodeFile(IOStream&, const char*, int, const BackupClientFileAttributes*)': BackupStoreFile.cpp:330:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 330 | std::auto_ptr stream(DecodeFileStream(rEncodedFile, Timeout, pAlterativeAttr)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp:346:21: warning: unused variable 'drained' [-Wunused-variable] 346 | int drained = rEncodedFile.Read(buffer, 1); | ^~~~~~~ BackupStoreFile.cpp: At global scope: BackupStoreFile.cpp:387:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 387 | std::auto_ptr BackupStoreFile::DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: In static member function 'static std::auto_ptr BackupStoreFile::DecodeFileStream(IOStream&, int, const BackupClientFileAttributes*)': BackupStoreFile.cpp:390:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 390 | std::auto_ptr stream(new DecodedStream(rEncodedFile, Timeout)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: At global scope: BackupStoreFile.cpp:1217:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1217 | std::auto_ptr BackupStoreFile::ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: In static member function 'static std::auto_ptr BackupStoreFile::ReorderFileToStreamOrder(IOStream*, bool)': BackupStoreFile.cpp:1266:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1266 | std::auto_ptr reordered(new ReadGatherStream(TakeOwnership)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.cpp: In static member function 'static bool BackupStoreFile::CompareFileContentsAgainstBlockIndex(const char*, IOStream&, int)': BackupStoreFile.cpp:1325:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1325 | std::auto_ptr in; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreFile.cpp:52: ../../lib/compress/Compress.h: In instantiation of 'Compress::~Compress() [with bool Compressing = true]': BackupStoreFile.cpp:1043:18: required from here ../../lib/common/Box.h:173:17: warning: 'throw' will always call 'terminate' [-Wterminate] 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/compress/Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ ../../lib/common/Box.h:173:17: note: in C++11 destructors default to 'noexcept' 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/compress/Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ ../../lib/compress/Compress.h: In instantiation of 'Compress::~Compress() [with bool Compressing = false]': BackupStoreFile.cpp:1149:19: required from here ../../lib/common/Box.h:173:17: warning: 'throw' will always call 'terminate' [-Wterminate] 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/compress/Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ ../../lib/common/Box.h:173:17: note: in C++11 destructors default to 'noexcept' 173 | throw type(type::subtype); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/compress/Compress.h:124:33: note: in expansion of macro 'THROW_EXCEPTION' 124 | THROW_EXCEPTION(CompressException, EndFailed) | ^~~~~~~~~~~~~~~ [CXX] BackupStoreFileCmbDiff.cpp In file included from BackupStoreFileCmbDiff.cpp:57: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFileCmbIdx.cpp In file included from BackupStoreFileCmbIdx.cpp:57: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFileCmbIdx.cpp:112:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | std::auto_ptr BackupStoreFile::CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly, bool FromIsIndexOnly) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFileCmbIdx.cpp: In static member function 'static std::auto_ptr BackupStoreFile::CombineFileIndices(IOStream&, IOStream&, bool, bool)': BackupStoreFileCmbIdx.cpp:125:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 125 | std::auto_ptr stream(new BSFCombinedIndexStream(&rDiff)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFileCombine.cpp In file included from BackupStoreFileCombine.cpp:56: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFileCryptVar.cpp [CXX] BackupStoreFileDiff.cpp In file included from BackupStoreFileDiff.cpp:67: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFileDiff.cpp:168:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | std::auto_ptr BackupStoreFile::EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFileDiff.cpp: In static member function 'static std::auto_ptr BackupStoreFile::EncodeFileDiff(const char*, int64_t, const BackupStoreFilename&, int64_t, IOStream&, int, DiffTimer*, int64_t*, bool*)': BackupStoreFileDiff.cpp:251:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | std::auto_ptr stream(new BackupStoreFileEncodeStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFileEncodeStream.cpp In file included from BackupStoreFileEncodeStream.cpp:59: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFileRevDiff.cpp In file included from BackupStoreFileRevDiff.cpp:57: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFilename.cpp In file included from BackupStoreFilename.cpp:54: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/server/Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreFilenameClear.cpp [CXX] BackupStoreObjectDump.cpp In file included from BackupStoreObjectDump.cpp:59: BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreObjectDump.cpp: In function 'void OutputLine(FILE*, bool, const char*, ...)': BackupStoreObjectDump.cpp:80:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 80 | int r = 0; | ^ [CXX] autogen_BackupProtocolClient.cpp In file included from autogen_BackupProtocolClient.h:10, from autogen_BackupProtocolClient.cpp:8: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/server/Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1065:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1065 | std::auto_ptr BackupProtocolClient::MakeProtocolObject(int ObjType) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'virtual std::auto_ptr BackupProtocolClient::MakeProtocolObject(int)': autogen_BackupProtocolClient.cpp:1070:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1070 | return std::auto_ptr(new BackupProtocolClientError); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1073:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1073 | return std::auto_ptr(new BackupProtocolClientVersion); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1076:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1076 | return std::auto_ptr(new BackupProtocolClientLogin); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1079:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1079 | return std::auto_ptr(new BackupProtocolClientLoginConfirmed); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1082:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1082 | return std::auto_ptr(new BackupProtocolClientFinished); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1085:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1085 | return std::auto_ptr(new BackupProtocolClientSuccess); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1088:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1088 | return std::auto_ptr(new BackupProtocolClientSetClientStoreMarker); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1091:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1091 | return std::auto_ptr(new BackupProtocolClientGetObject); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1094:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1094 | return std::auto_ptr(new BackupProtocolClientMoveObject); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1097:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1097 | return std::auto_ptr(new BackupProtocolClientGetObjectName); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1100:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1100 | return std::auto_ptr(new BackupProtocolClientObjectName); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1103:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1103 | return std::auto_ptr(new BackupProtocolClientCreateDirectory); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1106:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1106 | return std::auto_ptr(new BackupProtocolClientListDirectory); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1109:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1109 | return std::auto_ptr(new BackupProtocolClientChangeDirAttributes); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1112:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1112 | return std::auto_ptr(new BackupProtocolClientDeleteDirectory); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1115:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1115 | return std::auto_ptr(new BackupProtocolClientUndeleteDirectory); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1118:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1118 | return std::auto_ptr(new BackupProtocolClientStoreFile); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1121:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1121 | return std::auto_ptr(new BackupProtocolClientGetFile); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1124:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1124 | return std::auto_ptr(new BackupProtocolClientSetReplacementFileAttributes); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1127:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1127 | return std::auto_ptr(new BackupProtocolClientDeleteFile); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1130:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1130 | return std::auto_ptr(new BackupProtocolClientGetBlockIndexByID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1133:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1133 | return std::auto_ptr(new BackupProtocolClientGetBlockIndexByName); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1136:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1136 | return std::auto_ptr(new BackupProtocolClientUndeleteFile); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1139:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1139 | return std::auto_ptr(new BackupProtocolClientGetAccountUsage); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1142:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1142 | return std::auto_ptr(new BackupProtocolClientAccountUsage); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1145:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1145 | return std::auto_ptr(new BackupProtocolClientGetIsAlive); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1148:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1148 | return std::auto_ptr(new BackupProtocolClientIsAlive); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1154:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1154 | std::auto_ptr BackupProtocolClient::Receive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Receive()': autogen_BackupProtocolClient.cpp:1156:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1156 | std::auto_ptr preply((BackupProtocolObjectCl*)(Protocol::Receive().release())); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1230:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1230 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientVersion &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientVersion&)': autogen_BackupProtocolClient.cpp:1236:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1236 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1241:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1241 | return std::auto_ptr((BackupProtocolClientVersion*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1265:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1265 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientLogin &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientLogin&)': autogen_BackupProtocolClient.cpp:1271:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1271 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1276:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1276 | return std::auto_ptr((BackupProtocolClientLoginConfirmed*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1300:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1300 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientFinished &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientFinished&)': autogen_BackupProtocolClient.cpp:1306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1306 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1311:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1311 | return std::auto_ptr((BackupProtocolClientFinished*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1335:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1335 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientSetClientStoreMarker &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientSetClientStoreMarker&)': autogen_BackupProtocolClient.cpp:1341:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1341 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1346:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1346 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1370:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1370 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetObject &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetObject&)': autogen_BackupProtocolClient.cpp:1376:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1376 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1381:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1381 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1405:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1405 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientMoveObject &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientMoveObject&)': autogen_BackupProtocolClient.cpp:1411:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1411 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1416:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1416 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1440:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1440 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetObjectName &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetObjectName&)': autogen_BackupProtocolClient.cpp:1446:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1446 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1451:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1451 | return std::auto_ptr((BackupProtocolClientObjectName*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1475:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1475 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientCreateDirectory&, IOStream&)': autogen_BackupProtocolClient.cpp:1484:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1484 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1489:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1489 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1513:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1513 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientListDirectory &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientListDirectory&)': autogen_BackupProtocolClient.cpp:1519:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1519 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1524:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1524 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1548:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1548 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientChangeDirAttributes&, IOStream&)': autogen_BackupProtocolClient.cpp:1557:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1557 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1562:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1562 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1586:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1586 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientDeleteDirectory &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientDeleteDirectory&)': autogen_BackupProtocolClient.cpp:1592:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1592 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1597:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1597 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1621:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1621 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientUndeleteDirectory &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientUndeleteDirectory&)': autogen_BackupProtocolClient.cpp:1627:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1627 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1632:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1632 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1656:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1656 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientStoreFile&, IOStream&)': autogen_BackupProtocolClient.cpp:1665:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1665 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1670:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1670 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1694:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1694 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetFile &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetFile&)': autogen_BackupProtocolClient.cpp:1700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1700 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1705:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1705 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1729:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1729 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientSetReplacementFileAttributes&, IOStream&)': autogen_BackupProtocolClient.cpp:1738:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1738 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1743:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1743 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1767:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1767 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientDeleteFile &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientDeleteFile&)': autogen_BackupProtocolClient.cpp:1773:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1773 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1778:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1778 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1802:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1802 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetBlockIndexByID &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetBlockIndexByID&)': autogen_BackupProtocolClient.cpp:1808:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1808 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1813:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1813 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1837:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1837 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetBlockIndexByName &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetBlockIndexByName&)': autogen_BackupProtocolClient.cpp:1843:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1843 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1848:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1848 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1872:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1872 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientUndeleteFile &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientUndeleteFile&)': autogen_BackupProtocolClient.cpp:1878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1878 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1883:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1883 | return std::auto_ptr((BackupProtocolClientSuccess*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1907:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1907 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetAccountUsage &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetAccountUsage&)': autogen_BackupProtocolClient.cpp:1913:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1913 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1918:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1918 | return std::auto_ptr((BackupProtocolClientAccountUsage*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: At global scope: autogen_BackupProtocolClient.cpp:1942:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1942 | std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetIsAlive &rQuery) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp: In member function 'std::auto_ptr BackupProtocolClient::Query(const BackupProtocolClientGetIsAlive&)': autogen_BackupProtocolClient.cpp:1948:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1948 | std::auto_ptr preply(Receive().release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolClient.cpp:1953:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1953 | return std::auto_ptr((BackupProtocolClientIsAlive*)preply.release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] autogen_BackupStoreException.cpp [AR] ../../release/lib/backupclient/backupclient.a [RANLIB] ../../release/lib/backupclient/backupclient.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/backupclient' [CXX] BackupClientContext.cpp In file included from BackupClientContext.h:59, from BackupClientContext.cpp:64: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/backupclient/BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/Daemon.h:82, from BackupDaemon.h:62, from BackupClientContext.cpp:69: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.h:65: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupDaemon.h:69: ../../lib/server/Protocol.h: At global scope: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:209:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 209 | std::auto_ptr mpDirectoryRecord; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:244:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr mpConnectedSocket; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:250:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 250 | std::auto_ptr mapCommandSocketInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientContext.cpp: In member function 'BackupProtocolClient& BackupClientContext::GetConnection()': BackupClientContext.cpp:210:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr serverVersion(mpConnection->QueryVersion(BACKUP_STORE_SERVER_VERSION)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientContext.cpp:218:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 218 | std::auto_ptr loginConf(mpConnection->QueryLogin(mAccountNumber, 0 /* read/write */)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientContext.cpp: In member function 'bool BackupClientContext::FindFilename(int64_t, int64_t, std::string&, bool&, bool&, box_time_t*, box_time_t*, BackupStoreFilenameClear*)': BackupClientContext.cpp:467:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 467 | std::auto_ptr preply(connection.Receive()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientContext.cpp:488:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 488 | std::auto_ptr nameStream(connection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupClientDeleteList.cpp In file included from BackupClientContext.h:59, from BackupClientDeleteList.cpp:57: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/backupclient/BackupStoreFile.h:56: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupClientDeleteList.cpp:58: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupClientDirectoryRecord.cpp In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupClientDirectoryRecord.cpp:63: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/server/Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupClientContext.h:59, from BackupClientDirectoryRecord.cpp:64: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/Daemon.h:82, from BackupDaemon.h:62, from BackupClientDirectoryRecord.cpp:72: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.h:65: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h: At global scope: BackupDaemon.h:209:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 209 | std::auto_ptr mpDirectoryRecord; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:244:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr mpConnectedSocket; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:250:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 250 | std::auto_ptr mapCommandSocketInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp: In member function 'BackupStoreDirectory* BackupClientDirectoryRecord::FetchDirectoryListing(SyncParams&)': BackupClientDirectoryRecord.cpp:609:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 609 | std::auto_ptr dirreply(connection.QueryListDirectory( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:618:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 618 | std::auto_ptr dirstream(connection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp: In member function 'bool BackupClientDirectoryRecord::UpdateItems(SyncParams&, const std::string&, const std::string&, BackupStoreDirectory*, std::vector&, std::vector >&, const std::vector >&)': BackupClientDirectoryRecord.cpp:737:22: warning: variable 'hasMultipleHardLinks' set but not used [-Wunused-but-set-variable] 737 | bool hasMultipleHardLinks = true; | ^~~~~~~~~~~~~~~~~~~~ BackupClientDirectoryRecord.cpp:1377:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1377 | std::auto_ptr dirCreate(connection.QueryCreateDirectory( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp: In member function 'int64_t BackupClientDirectoryRecord::UploadFile(SyncParams&, const std::string&, const BackupStoreFilename&, int64_t, box_time_t, box_time_t, bool)': BackupClientDirectoryRecord.cpp:1569:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1569 | std::auto_ptr getBlockIndex(connection.QueryGetBlockIndexByName(mObjectID, rStoreFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:1579:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1579 | std::auto_ptr blockIndexStream(connection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:1588:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1588 | std::auto_ptr patchStream( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:1603:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1603 | std::auto_ptr stored(connection.QueryStoreFile(mObjectID, ModificationTime, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:1620:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1620 | std::auto_ptr upload( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupClientDirectoryRecord.cpp:1627:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1627 | std::auto_ptr stored( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupClientInodeToIDMap.cpp [CXX] BackupDaemon.cpp In file included from BackupDaemon.cpp:86: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupDaemon.cpp:94: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupClientContext.h:59, from BackupDaemon.cpp:98: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.h:62, from BackupDaemon.cpp:104: ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.h:65: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h: At global scope: BackupDaemon.h:209:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 209 | std::auto_ptr mpDirectoryRecord; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:244:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr mpConnectedSocket; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:250:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 250 | std::auto_ptr mapCommandSocketInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.cpp:116: ../../lib/server/LocalProcessStream.h:76:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr LocalProcessStream(const std::string& rCommandLine, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp: In member function 'void BackupDaemon::RunSyncNow()': BackupDaemon.cpp:755:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 755 | std::auto_ptr fileLogger; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp: In member function 'int BackupDaemon::UseScriptToSeeIfSyncAllowed()': BackupDaemon.cpp:1069:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1069 | std::auto_ptr pscript(LocalProcessStream(script, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp: In member function 'void BackupDaemon::SetupLocations(BackupClientContext&, const Configuration&)': BackupDaemon.cpp:1482:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1482 | std::auto_ptr dirreply( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp:1494:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1494 | std::auto_ptr dirstream(connection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp:1593:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1593 | std::auto_ptr apLoc(new Location); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.cpp:1729:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1729 | std::auto_ptr | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] Win32BackupService.cpp [CXX] Win32ServiceFunctions.cpp [CXX] autogen_ClientException.cpp [CXX] bbackupd.cpp In file included from BackupClientContext.h:59, from BackupDaemon.h:59, from bbackupd.cpp:53: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupDaemon.h:57: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/Daemon.h:82, from BackupDaemon.h:62: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupDaemon.h:65: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupDaemon.h:69: ../../lib/server/Protocol.h: At global scope: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:209:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 209 | std::auto_ptr mpDirectoryRecord; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:244:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr mpConnectedSocket; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupDaemon.h:250:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 250 | std::auto_ptr mapCommandSocketInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [LINK] ../../release/bin/bbackupd/bbackupd gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupd' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p release/bin/bbackupd/bbackupd parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd bin/bbackupquery; gmake RELEASE=1) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupquery' [CXX] BackupQueries.cpp In file included from BackupQueries.h:59, from BackupQueries.cpp:78: BoxBackupCompareParams.h:73:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr mapExcludeFiles, mapExcludeDirs; | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BoxBackupCompareParams.h:55: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupQueries.cpp:81: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupQueries.cpp:85: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from BackupQueries.cpp:95: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'void BackupQueries::List(int64_t, const std::string&, const bool*, bool)': BackupQueries.cpp:570:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 570 | std::auto_ptr dirstream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'int64_t BackupQueries::FindDirectoryObjectID(const std::string&, bool, bool, std::vector, long long int> >*)': BackupQueries.cpp:775:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 775 | std::auto_ptr dirreply(mrConnection.QueryListDirectory( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp:783:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | std::auto_ptr dirstream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'void BackupQueries::CommandGetObject(const std::vector >&, const bool*)': BackupQueries.cpp:1019:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1019 | std::auto_ptr getobj(mrConnection.QueryGetObject(id)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp:1023:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1023 | std::auto_ptr objectStream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'int64_t BackupQueries::FindFileID(const std::string&, const bool*, int64_t*, std::string*, int16_t, int16_t, int16_t*)': BackupQueries.cpp:1095:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1095 | std::auto_ptr dirstream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'void BackupQueries::CommandGet(std::vector >, const bool*)': BackupQueries.cpp:1253:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1253 | std::auto_ptr objectStream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'void BackupQueries::Compare(int64_t, const std::string&, const std::string&, BoxBackupCompareParams&)': BackupQueries.cpp:1557:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1557 | std::auto_ptr dirstream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp:1769:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1769 | std::auto_ptr blockIndexStream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp:1780:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1780 | std::auto_ptr objectStream(mrConnection.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp:1783:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1783 | std::auto_ptr fileOnServerStream; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupQueries.cpp: In member function 'void BackupQueries::CommandUsage(const bool*)': BackupQueries.cpp:2185:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2185 | std::auto_ptr usage(mrConnection.QueryGetAccountUsage()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] autogen_Documentation.cpp [CXX] bbackupquery.cpp In file included from ../../lib/backupclient/BackupDaemonConfigVerify.h:55, from bbackupquery.cpp:87: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupclient/autogen_BackupProtocolClient.h:10, from bbackupquery.cpp:94: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:687:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:691:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 691 | std::auto_ptr Query(const BackupProtocolClientVersion &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:692:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | std::auto_ptr Query(const BackupProtocolClientLogin &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:693:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 693 | std::auto_ptr Query(const BackupProtocolClientFinished &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:694:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 694 | std::auto_ptr Query(const BackupProtocolClientSetClientStoreMarker &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:695:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 695 | std::auto_ptr Query(const BackupProtocolClientGetObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:696:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 696 | std::auto_ptr Query(const BackupProtocolClientMoveObject &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:697:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 697 | std::auto_ptr Query(const BackupProtocolClientGetObjectName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:698:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr Query(const BackupProtocolClientCreateDirectory &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:699:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 699 | std::auto_ptr Query(const BackupProtocolClientListDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:700:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | std::auto_ptr Query(const BackupProtocolClientChangeDirAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:701:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 701 | std::auto_ptr Query(const BackupProtocolClientDeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:702:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | std::auto_ptr Query(const BackupProtocolClientUndeleteDirectory &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:703:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr Query(const BackupProtocolClientStoreFile &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:704:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr Query(const BackupProtocolClientGetFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:705:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 705 | std::auto_ptr Query(const BackupProtocolClientSetReplacementFileAttributes &rQuery, IOStream &rStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:706:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 706 | std::auto_ptr Query(const BackupProtocolClientDeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 707 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByID &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:708:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 708 | std::auto_ptr Query(const BackupProtocolClientGetBlockIndexByName &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:709:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 709 | std::auto_ptr Query(const BackupProtocolClientUndeleteFile &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:710:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 710 | std::auto_ptr Query(const BackupProtocolClientGetAccountUsage &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:711:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 711 | std::auto_ptr Query(const BackupProtocolClientGetIsAlive &rQuery); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:713:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 713 | inline std::auto_ptr QueryVersion(int32_t Version) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:718:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 718 | inline std::auto_ptr QueryLogin(int32_t ClientID, int32_t Flags) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:723:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 723 | inline std::auto_ptr QueryFinished() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | inline std::auto_ptr QuerySetClientStoreMarker(int64_t ClientStoreMarker) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:733:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | inline std::auto_ptr QueryGetObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:738:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 738 | inline std::auto_ptr QueryMoveObject(int64_t ObjectID, int64_t MoveFromDirectory, int64_t MoveToDirectory, int32_t Flags, const BackupStoreFilenameClear& NewFilename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:743:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 743 | inline std::auto_ptr QueryGetObjectName(int64_t ObjectID, int64_t ContainingDirectoryID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | inline std::auto_ptr QueryCreateDirectory(int64_t ContainingDirectoryID, int64_t AttributesModTime, const BackupStoreFilenameClear& DirectoryName, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:753:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 753 | inline std::auto_ptr QueryListDirectory(int64_t ObjectID, int16_t FlagsMustBeSet, int16_t FlagsNotToBeSet, bool SendAttributes) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:758:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 758 | inline std::auto_ptr QueryChangeDirAttributes(int64_t ObjectID, int64_t AttributesModTime, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:763:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | inline std::auto_ptr QueryDeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:768:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 768 | inline std::auto_ptr QueryUndeleteDirectory(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:773:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 773 | inline std::auto_ptr QueryStoreFile(int64_t DirectoryObjectID, int64_t ModificationTime, int64_t AttributesHash, int64_t DiffFromFileID, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:778:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 778 | inline std::auto_ptr QueryGetFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:783:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 783 | inline std::auto_ptr QuerySetReplacementFileAttributes(int64_t InDirectory, int64_t AttributesHash, const BackupStoreFilenameClear& Filename, IOStream &rStream) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:788:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 788 | inline std::auto_ptr QueryDeleteFile(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:793:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 793 | inline std::auto_ptr QueryGetBlockIndexByID(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:798:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 798 | inline std::auto_ptr QueryGetBlockIndexByName(int64_t InDirectory, const BackupStoreFilenameClear& Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:803:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | inline std::auto_ptr QueryUndeleteFile(int64_t InDirectory, int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:808:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | inline std::auto_ptr QueryGetAccountUsage() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:813:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 813 | inline std::auto_ptr QueryGetIsAlive() | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/autogen_BackupProtocolClient.h:829:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 829 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupQueries.h:59, from bbackupquery.cpp:95: BoxBackupCompareParams.h:73:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr mapExcludeFiles, mapExcludeDirs; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ bbackupquery.cpp: In function 'int main(int, const char**)': bbackupquery.cpp:279:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 279 | std::auto_ptr fileLogger; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ bbackupquery.cpp:328:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 328 | std::auto_ptr config( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ bbackupquery.cpp:375:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 375 | std::auto_ptr serverVersion(connection.QueryVersion(BACKUP_STORE_SERVER_VERSION)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [LINK] ../../release/bin/bbackupquery/bbackupquery gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupquery' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p release/bin/bbackupquery/bbackupquery parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd bin/bbackupctl; gmake RELEASE=1) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupctl' [CXX] bbackupctl.cpp In file included from ../../lib/backupclient/BackupDaemonConfigVerify.h:55, from bbackupctl.cpp:65: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ bbackupctl.cpp: In function 'int main(int, const char**)': bbackupctl.cpp:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr config( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [LINK] ../../release/bin/bbackupctl/bbackupctl gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbackupctl' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p release/bin/bbackupctl/bbackupctl parcels/boxbackup-0.11.1-backup-client-netbsdelf mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p bin/bbackupd/bbackupd-config parcels/boxbackup-0.11.1-backup-client-netbsdelf mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p COPYING.txt parcels/boxbackup-0.11.1-backup-client-netbsdelf mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p LICENSE-GPL.txt parcels/boxbackup-0.11.1-backup-client-netbsdelf mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p LICENSE-DUAL.txt parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd docs && gmake htmlguide/man-html/bbackupd.html) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'htmlguide/man-html/bbackupd.html' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs cp -p docs/htmlguide/man-html/bbackupd.html parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs (cd docs && gmake htmlguide/man-html/bbackupquery.html) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'htmlguide/man-html/bbackupquery.html' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs cp -p docs/htmlguide/man-html/bbackupquery.html parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs (cd docs && gmake htmlguide/man-html/bbackupctl.html) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'htmlguide/man-html/bbackupctl.html' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs cp -p docs/htmlguide/man-html/bbackupctl.html parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs (cd docs && gmake htmlguide/man-html/bbackupd-config.html) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'htmlguide/man-html/bbackupd-config.html' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs cp -p docs/htmlguide/man-html/bbackupd-config.html parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs (cd docs && gmake htmlguide/man-html/bbackupd.conf.html) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'htmlguide/man-html/bbackupd.conf.html' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs cp -p docs/htmlguide/man-html/bbackupd.conf.html parcels/boxbackup-0.11.1-backup-client-netbsdelf/docs (cd docs && gmake man/bbackupd.8.gz) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'man/bbackupd.8.gz' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p docs/man/bbackupd.8.gz parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd docs && gmake man/bbackupquery.8.gz) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'man/bbackupquery.8.gz' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p docs/man/bbackupquery.8.gz parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd docs && gmake man/bbackupctl.8.gz) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'man/bbackupctl.8.gz' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p docs/man/bbackupctl.8.gz parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd docs && gmake man/bbackupd-config.8.gz) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'man/bbackupd-config.8.gz' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p docs/man/bbackupd-config.8.gz parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd docs && gmake man/bbackupd.conf.5.gz) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' gmake[1]: 'man/bbackupd.conf.5.gz' is up to date. gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/docs' mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf cp -p docs/man/bbackupd.conf.5.gz parcels/boxbackup-0.11.1-backup-client-netbsdelf test -d parcels/boxbackup-0.11.1-backup-client-netbsdelf || mkdir parcels/boxbackup-0.11.1-backup-client-netbsdelf cp parcels/scripts/install-backup-client parcels/boxbackup-0.11.1-backup-client-netbsdelf (cd parcels; tar cf - boxbackup-0.11.1-backup-client-netbsdelf | gzip -9 - > boxbackup-0.11.1-backup-client-netbsdelf.tgz ) (cd bin/bbstored; gmake RELEASE=1) gmake[1]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbstored' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/raidfile' [CXX] RaidFileController.cpp In file included from RaidFileController.cpp:76: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileController.cpp: In member function 'void RaidFileController::Initialise(const std::string&)': RaidFileController.cpp:163:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | std::auto_ptr pconfig = Configuration::LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] RaidFileRead.cpp In file included from RaidFileRead.cpp:94: RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from RaidFileRead.cpp:92: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileRead.cpp:1069:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1069 | std::auto_ptr RaidFileRead::Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID, int BufferSizeHint) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileRead.cpp: In static member function 'static std::auto_ptr RaidFileRead::Open(int, const std::string&, int64_t*, int)': RaidFileRead.cpp:1106:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1106 | return std::auto_ptr(new RaidFileRead_NonRaid(SetNumber, Filename, osFileHandle)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileRead.cpp:1176:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1176 | return std::auto_ptr(new RaidFileRead_Raid(SetNumber, Filename, stripe1, stripe2, -1, length, rdiscSet.GetBlockSize(), false /* actually we don't know */)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileRead.cpp:1445:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1445 | return std::auto_ptr(new RaidFileRead_Raid(SetNumber, Filename, stripe1, stripe2, parity, length, blockSize, lastBlockHasSize)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ RaidFileRead.cpp:1472:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1472 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] RaidFileUtil.cpp In file included from RaidFileUtil.cpp:77: RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from RaidFileRead.h:75: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] RaidFileWrite.cpp In file included from RaidFileWrite.cpp:89: RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from RaidFileRead.h:75: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] autogen_RaidFileException.cpp [AR] ../../release/lib/raidfile/raidfile.a [RANLIB] ../../release/lib/raidfile/raidfile.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/raidfile' gmake[2]: Entering directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/backupstore' [CXX] BackupStoreAccountDatabase.cpp In file included from BackupStoreAccountDatabase.cpp:60: BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreAccountDatabase.h:55: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreAccountDatabase.cpp:168:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | std::auto_ptr BackupStoreAccountDatabase::Read(const char *Filename) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreAccountDatabase.cpp: In static member function 'static std::auto_ptr BackupStoreAccountDatabase::Read(const char*)': BackupStoreAccountDatabase.cpp:171:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 171 | std::auto_ptr db(new BackupStoreAccountDatabase(Filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreAccounts.cpp In file included from BackupStoreAccounts.h:57, from BackupStoreAccounts.cpp:57: BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreAccountDatabase.h:55: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreAccounts.cpp:59: BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreAccounts.cpp:61: BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreAccounts.cpp: In member function 'void BackupStoreAccounts::Create(int32_t, int, int64_t, int64_t, const std::string&)': BackupStoreAccounts.cpp:113:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 113 | std::auto_ptr user; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreAccounts.cpp:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr info(BackupStoreInfo::Load(ID, dirName, DiscSet, false /* ReadWrite */)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreAccounts.cpp:153:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr refcount( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreCheck.cpp In file included from BackupStoreCheck.cpp:60: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/raidfile/RaidFileRead.h:75: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreCheck.cpp:64: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck.cpp: In member function 'bool BackupStoreCheck::CheckAndAddObject(int64_t, const std::string&)': BackupStoreCheck.cpp:497:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 497 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, rFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck.cpp: In member function 'void BackupStoreCheck::CheckDirectories()': BackupStoreCheck.cpp:649:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 649 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreCheck2.cpp In file included from BackupStoreCheck2.cpp:59: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/raidfile/RaidFileRead.h:75: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreCheck2.cpp:63: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreCheck2.cpp:67: BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'void BackupStoreCheck::CheckUnattachedObjects()': BackupStoreCheck2.cpp:205:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 205 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In constructor 'BackupStoreDirectoryFixer::BackupStoreDirectoryFixer(std::string, int, int64_t)': BackupStoreCheck2.cpp:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 373 | std::auto_ptr file( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'void BackupStoreDirectoryFixer::InsertObject(int64_t, bool, int32_t)': BackupStoreCheck2.cpp:401:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 401 | std::auto_ptr file( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'int64_t BackupStoreCheck::GetLostAndFoundDirID()': BackupStoreCheck2.cpp:471:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 471 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'void BackupStoreCheck::FixDirsWithWrongContainerID()': BackupStoreCheck2.cpp:543:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 543 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'void BackupStoreCheck::FixDirsWithLostDirs()': BackupStoreCheck2.cpp:588:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 588 | std::auto_ptr file(RaidFileRead::Open(mDiscSetNumber, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp: In member function 'void BackupStoreCheck::WriteNewStoreInfo()': BackupStoreCheck2.cpp:618:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 618 | std::auto_ptr poldInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreCheck2.cpp:671:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 671 | std::auto_ptr info(BackupStoreInfo::CreateForRegeneration( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreCheckData.cpp [CXX] BackupStoreConfigVerify.cpp In file included from BackupStoreConfigVerify.h:55, from BackupStoreConfigVerify.cpp:53: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:80, from ../../lib/server/ServerTLS.h:73, from BackupStoreConfigVerify.cpp:54: ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:81: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/ServerStream.h: In member function 'virtual void ServerStream::Run2(bool&)': ../../lib/server/ServerStream.h:301:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr connection(psocket->Accept(0, &logMessage)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreInfo.cpp In file included from BackupStoreInfo.cpp:56: BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreInfo.h:55: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreInfo.cpp:59: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.cpp:194:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr BackupStoreInfo::Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.cpp: In static member function 'static std::auto_ptr BackupStoreInfo::Load(int32_t, const std::string&, int, bool, int64_t*)': BackupStoreInfo.cpp:200:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 200 | std::auto_ptr rf(RaidFileRead::Open(DiscSet, fn, pRevisionID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.cpp:216:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 216 | std::auto_ptr info(new BackupStoreInfo); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.cpp: At global scope: BackupStoreInfo.cpp:283:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr BackupStoreInfo::CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreInfo.cpp: In static member function 'static std::auto_ptr BackupStoreInfo::CreateForRegeneration(int32_t, const std::string&, int, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t)': BackupStoreInfo.cpp:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr info(new BackupStoreInfo); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreRefCountDatabase.cpp In file included from BackupStoreRefCountDatabase.h:59, from BackupStoreRefCountDatabase.cpp:56: BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreRefCountDatabase.h:55: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.cpp: In static member function 'static void BackupStoreRefCountDatabase::Create(const BackupStoreAccountDatabase::Entry&, bool)': BackupStoreRefCountDatabase.cpp:147:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 147 | std::auto_ptr DatabaseFile(new FileStream(Filename, flags)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.cpp: At global scope: BackupStoreRefCountDatabase.cpp:164:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 164 | std::auto_ptr BackupStoreRefCountDatabase::Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.cpp: In static member function 'static std::auto_ptr BackupStoreRefCountDatabase::Load(const BackupStoreAccountDatabase::Entry&, bool)': BackupStoreRefCountDatabase.cpp:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr dbfile(new FileStream(filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreRefCountDatabase.cpp:190:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 190 | std::auto_ptr refcount(new BackupStoreRefCountDatabase(rAccount)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] StoreStructure.cpp In file included from StoreStructure.cpp:55: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/raidfile/RaidFileRead.h:75: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [AR] ../../release/lib/backupstore/backupstore.a [RANLIB] ../../release/lib/backupstore/backupstore.a gmake[2]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/lib/backupstore' [CXX] BBStoreDHousekeeping.cpp In file included from ../../lib/server/Daemon.h:82, from ../../lib/server/ServerStream.h:80, from ../../lib/server/ServerTLS.h:73, from BackupStoreDaemon.h:55, from BBStoreDHousekeeping.cpp:56: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:81: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/ServerStream.h: In member function 'virtual void ServerStream::Run2(bool&)': ../../lib/server/ServerStream.h:301:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr connection(psocket->Accept(0, &logMessage)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupstore/BackupStoreRefCountDatabase.h:59, from BackupStoreContext.h:59, from BackupStoreDaemon.h:58: ../../lib/backupstore/BackupStoreAccountDatabase.h: At global scope: ../../lib/backupstore/BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:170:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr OpenObject(int64_t ObjectID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mpStoreInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr mapRefCount; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:206:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 206 | virtual std::auto_ptr StartCommand(BackupProtocolObject& | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:214:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 214 | std::auto_ptr StartCommandHook(BackupProtocolObject& rCommand) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h: In member function 'std::auto_ptr BackupStoreContext::StartCommandHook(BackupProtocolObject&)': BackupStoreContext.h:220:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupCommands.cpp In file included from autogen_BackupProtocolServer.h:10, from BackupCommands.cpp:57: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/server/Protocol.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:31:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 31 | virtual std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:113:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 113 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:160:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:220:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:244:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:275:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 275 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:325:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 325 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:359:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 359 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:384:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 384 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:405:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 405 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:424:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 424 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:443:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 443 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:470:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 470 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:491:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 491 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:514:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 514 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:535:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 535 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:554:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 554 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:575:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 575 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:596:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 596 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:644:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 644 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:672:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 672 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:689:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 689 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupstore/BackupStoreRefCountDatabase.h:59, from BackupStoreContext.h:59, from BackupCommands.cpp:60: ../../lib/backupstore/BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:170:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr OpenObject(int64_t ObjectID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mpStoreInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr mapRefCount; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:206:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 206 | virtual std::auto_ptr StartCommand(BackupProtocolObject& | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:214:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 214 | std::auto_ptr StartCommandHook(BackupProtocolObject& rCommand) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h: In member function 'std::auto_ptr BackupStoreContext::StartCommandHook(BackupProtocolObject&)': BackupStoreContext.h:220:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupCommands.cpp:64: ../../lib/backupclient/BackupStoreFile.h: At global scope: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupCommands.cpp:65: ../../lib/backupstore/BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:97:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 97 | std::auto_ptr BackupProtocolServerVersion::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerVersion::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:99:9: note: in expansion of macro 'CHECK_PHASE' 99 | CHECK_PHASE(Phase_Version) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:104:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:112:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | return std::auto_ptr(new BackupProtocolServerVersion(BACKUP_STORE_SERVER_VERSION)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:123:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 123 | std::auto_ptr BackupProtocolServerLogin::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerLogin::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:125:9: note: in expansion of macro 'CHECK_PHASE' 125 | CHECK_PHASE(Phase_Login) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:134:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:145:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:159:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:190:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 190 | return std::auto_ptr(new BackupProtocolServerLoginConfirmed(clientStoreMarker, blocksUsed, blocksSoftLimit, blocksHardLimit)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:201:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 201 | std::auto_ptr BackupProtocolServerFinished::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerFinished::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:210:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | return std::auto_ptr(new BackupProtocolServerFinished); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:222:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 222 | std::auto_ptr BackupProtocolServerListDirectory::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerListDirectory::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:224:9: note: in expansion of macro 'CHECK_PHASE' 224 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:227:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr stream(new CollectInBufferStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:242:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 242 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:255:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:267:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 267 | std::auto_ptr BackupProtocolServerStoreFile::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerStoreFile::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:269:9: note: in expansion of macro 'CHECK_PHASE' 269 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:270:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 270 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:272:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 272 | std::auto_ptr hookResult = | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:284:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 284 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:290:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 290 | std::auto_ptr dirstream(rProtocol.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:303:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 303 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:308:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 308 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:318:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 318 | return std::auto_ptr(new BackupProtocolServerSuccess(id)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:332:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 332 | std::auto_ptr BackupProtocolServerGetObject::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetObject::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:334:9: note: in expansion of macro 'CHECK_PHASE' 334 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:339:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 339 | return std::auto_ptr(new BackupProtocolServerSuccess(NoObject)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:343:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 343 | std::auto_ptr object(rContext.OpenObject(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:349:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 349 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:361:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | std::auto_ptr BackupProtocolServerGetFile::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetFile::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:363:9: note: in expansion of macro 'CHECK_PHASE' 363 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:369:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 369 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:380:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 380 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:385:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 385 | std::auto_ptr stream; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:409:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 409 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 420 | std::auto_ptr from(rContext.OpenObject(patchChain[patchChain.size() - 1])); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:429:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 429 | std::auto_ptr diff(rContext.OpenObject(patchID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:430:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 430 | std::auto_ptr diff2(rContext.OpenObject(patchID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:440:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr combined; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:445:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 445 | std::auto_ptr t( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:475:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 475 | std::auto_ptr t(BackupStoreFile::ReorderFileToStreamOrder(from.get(), true /* take ownership */)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:487:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 487 | std::auto_ptr object(rContext.OpenObject(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:493:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 493 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:503:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 503 | std::auto_ptr t(BackupStoreFile::ReorderFileToStreamOrder(object.get(), true /* take ownership */)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:520:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 520 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:532:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 532 | std::auto_ptr BackupProtocolServerCreateDirectory::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerCreateDirectory::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:534:9: note: in expansion of macro 'CHECK_PHASE' 534 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:535:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 535 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:538:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 538 | std::auto_ptr attrstream(rProtocol.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:548:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 548 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:557:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 557 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:562:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 562 | return std::auto_ptr(new BackupProtocolServerSuccess(id)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:575:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 575 | std::auto_ptr BackupProtocolServerChangeDirAttributes::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerChangeDirAttributes::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:577:9: note: in expansion of macro 'CHECK_PHASE' 577 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:578:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 578 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:581:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 581 | std::auto_ptr attrstream(rProtocol.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:591:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 591 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:603:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 603 | std::auto_ptr BackupProtocolServerSetReplacementFileAttributes::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerSetReplacementFileAttributes::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:605:9: note: in expansion of macro 'CHECK_PHASE' 605 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:606:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 606 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:609:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 609 | std::auto_ptr attrstream(rProtocol.ReceiveStream()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:620:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 620 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:625:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 625 | return std::auto_ptr(new BackupProtocolServerSuccess(objectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:638:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 638 | std::auto_ptr BackupProtocolServerDeleteFile::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerDeleteFile::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:640:9: note: in expansion of macro 'CHECK_PHASE' 640 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:641:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 641 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:648:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 648 | return std::auto_ptr(new BackupProtocolServerSuccess(objectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:661:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 661 | std::auto_ptr BackupProtocolServerUndeleteFile::DoCommand( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerUndeleteFile::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:664:9: note: in expansion of macro 'CHECK_PHASE' 664 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:665:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 665 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:671:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 671 | return std::auto_ptr( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:684:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 684 | std::auto_ptr BackupProtocolServerDeleteDirectory::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerDeleteDirectory::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:686:9: note: in expansion of macro 'CHECK_PHASE' 686 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:687:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 687 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:692:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 692 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:700:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 700 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:712:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 712 | std::auto_ptr BackupProtocolServerUndeleteDirectory::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerUndeleteDirectory::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:714:9: note: in expansion of macro 'CHECK_PHASE' 714 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:715:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 715 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:720:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 720 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:728:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 728 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:739:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 739 | std::auto_ptr BackupProtocolServerSetClientStoreMarker::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerSetClientStoreMarker::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:741:9: note: in expansion of macro 'CHECK_PHASE' 741 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:742:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 742 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:748:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | return std::auto_ptr(new BackupProtocolServerSuccess(mClientStoreMarker)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:760:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 760 | std::auto_ptr BackupProtocolServerMoveObject::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerMoveObject::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:762:9: note: in expansion of macro 'CHECK_PHASE' 762 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:85:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:763:9: note: in expansion of macro 'CHECK_WRITEABLE_SESSION' 763 | CHECK_WRITEABLE_SESSION | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:776:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 776 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:781:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 781 | return std::auto_ptr(new BackupProtocolServerError( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:791:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 791 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:803:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 803 | std::auto_ptr BackupProtocolServerGetObjectName::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetObjectName::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:805:9: note: in expansion of macro 'CHECK_PHASE' 805 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:808:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 808 | std::auto_ptr stream(new CollectInBufferStream); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:826:37: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 826 | return std::auto_ptr(new BackupProtocolServerObjectName(BackupProtocolServerObjectName::NumNameElements_ObjectDoesntExist, 0, 0, 0)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:841:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 841 | return std::auto_ptr(new BackupProtocolServerObjectName(BackupProtocolServerObjectName::NumNameElements_ObjectDoesntExist, 0, 0, 0)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:881:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 881 | return std::auto_ptr(new BackupProtocolServerObjectName(numNameElements, modTime, attrModHash, objectFlags)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:894:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 894 | std::auto_ptr BackupProtocolServerGetBlockIndexByID::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetBlockIndexByID::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:896:9: note: in expansion of macro 'CHECK_PHASE' 896 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:899:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 899 | std::auto_ptr stream(rContext.OpenObject(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:908:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 908 | return std::auto_ptr(new BackupProtocolServerSuccess(mObjectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:920:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 920 | std::auto_ptr BackupProtocolServerGetBlockIndexByName::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetBlockIndexByName::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:922:9: note: in expansion of macro 'CHECK_PHASE' 922 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:947:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 947 | return std::auto_ptr(new BackupProtocolServerSuccess(0)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:951:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 951 | std::auto_ptr stream(rContext.OpenObject(objectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:960:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 960 | return std::auto_ptr(new BackupProtocolServerSuccess(objectID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:972:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 972 | std::auto_ptr BackupProtocolServerGetAccountUsage::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetAccountUsage::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:974:9: note: in expansion of macro 'CHECK_PHASE' 974 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:984:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 984 | return std::auto_ptr(new BackupProtocolServerAccountUsage( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: At global scope: BackupCommands.cpp:1003:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1003 | std::auto_ptr BackupProtocolServerGetIsAlive::DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp: In member function 'virtual std::auto_ptr BackupProtocolServerGetIsAlive::DoCommand(BackupProtocolServer&, BackupStoreContext&)': BackupCommands.cpp:78:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | return std::auto_ptr(new BackupProtocolServerError( \ | ^~~~~~~~ BackupCommands.cpp:1005:9: note: in expansion of macro 'CHECK_PHASE' 1005 | CHECK_PHASE(Phase_Commands) | ^~~~~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupCommands.cpp:1010:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1010 | return std::auto_ptr(new BackupProtocolServerIsAlive()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreContext.cpp In file included from ../../lib/backupstore/BackupStoreRefCountDatabase.h:59, from BackupStoreContext.h:59, from BackupStoreContext.cpp:57: ../../lib/backupstore/BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreContext.h:57: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:170:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr OpenObject(int64_t ObjectID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mpStoreInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr mapRefCount; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:206:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 206 | virtual std::auto_ptr StartCommand(BackupProtocolObject& | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:214:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 214 | std::auto_ptr StartCommandHook(BackupProtocolObject& rCommand) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h: In member function 'std::auto_ptr BackupStoreContext::StartCommandHook(BackupProtocolObject&)': BackupStoreContext.h:220:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/Daemon.h:82, from ../../lib/server/ServerStream.h:80, from ../../lib/server/ServerTLS.h:73, from BackupStoreDaemon.h:55, from BackupStoreContext.cpp:58: ../../lib/common/Configuration.h: At global scope: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:81: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/ServerStream.h: In member function 'virtual void ServerStream::Run2(bool&)': ../../lib/server/ServerStream.h:301:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr connection(psocket->Accept(0, &logMessage)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreContext.cpp:61: ../../lib/backupclient/BackupStoreFile.h: At global scope: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreContext.cpp:62: ../../lib/backupstore/BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from BackupStoreContext.cpp:69: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: In member function 'void BackupStoreContext::LoadStoreInfo()': BackupStoreContext.cpp:227:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr i(BackupStoreInfo::Load(mClientID, mStoreRoot, mStoreDiscSet, mReadOnly)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: In member function 'BackupStoreDirectory& BackupStoreContext::GetDirectoryInternal(int64_t)': BackupStoreContext.cpp:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 373 | std::auto_ptr objectFile(RaidFileRead::Open(mStoreDiscSet, filename, &revID)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp:377:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 377 | std::auto_ptr dir(new BackupStoreDirectory); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: In member function 'int64_t BackupStoreContext::AddFile(IOStream&, int64_t, int64_t, int64_t, int64_t, const BackupStoreFilename&, bool)': BackupStoreContext.cpp:570:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 570 | std::auto_ptr from(RaidFileRead::Open(mStoreDiscSet, oldVersionFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp:574:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 574 | std::auto_ptr from2(RaidFileRead::Open(mStoreDiscSet, oldVersionFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp:628:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 628 | std::auto_ptr checkFile(RaidFileRead::Open(mStoreDiscSet, fn)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: In member function 'bool BackupStoreContext::ObjectExists(int64_t, int)': BackupStoreContext.cpp:1425:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1425 | std::auto_ptr objectFile(RaidFileRead::Open(mStoreDiscSet, filename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: At global scope: BackupStoreContext.cpp:1467:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1467 | std::auto_ptr BackupStoreContext::OpenObject(int64_t ObjectID) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.cpp: In member function 'std::auto_ptr BackupStoreContext::OpenObject(int64_t)': BackupStoreContext.cpp:1477:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1477 | return std::auto_ptr(RaidFileRead::Open(mStoreDiscSet, fn).release()); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] BackupStoreDaemon.cpp In file included from ../../lib/backupstore/BackupStoreRefCountDatabase.h:59, from BackupStoreContext.h:59, from BackupStoreDaemon.cpp:62: ../../lib/backupstore/BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from BackupStoreContext.h:57: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:170:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr OpenObject(int64_t ObjectID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mpStoreInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr mapRefCount; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:206:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 206 | virtual std::auto_ptr StartCommand(BackupProtocolObject& | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:214:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 214 | std::auto_ptr StartCommandHook(BackupProtocolObject& rCommand) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h: In member function 'std::auto_ptr BackupStoreContext::StartCommandHook(BackupProtocolObject&)': BackupStoreContext.h:220:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/Daemon.h:82, from ../../lib/server/ServerStream.h:80, from ../../lib/server/ServerTLS.h:73, from BackupStoreDaemon.h:55, from BackupStoreDaemon.cpp:63: ../../lib/common/Configuration.h: At global scope: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:81: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/ServerStream.h: In member function 'virtual void ServerStream::Run2(bool&)': ../../lib/server/ServerStream.h:301:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr connection(psocket->Accept(0, &logMessage)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from autogen_BackupProtocolServer.h:10, from BackupStoreDaemon.cpp:65: ../../lib/server/Protocol.h: At global scope: ../../lib/server/Protocol.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:108:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr ReceiveStream(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Protocol.h:233:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | virtual std::auto_ptr MakeProtocolObject(int ObjType) = 0; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:31:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 31 | virtual std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:87:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 87 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:113:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 113 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:160:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:220:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:244:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 244 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:275:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 275 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:325:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 325 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:359:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 359 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:384:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 384 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:405:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 405 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:424:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 424 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:443:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 443 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:470:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 470 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:491:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 491 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:514:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 514 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:535:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 535 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:554:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 554 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:575:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 575 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:596:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 596 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:644:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 644 | std::auto_ptr DoCommand(BackupProtocolServer &rProtocol, BackupStoreContext &rContext); // IMPLEMENT THIS | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:672:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 672 | std::auto_ptr Receive(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ autogen_BackupProtocolServer.h:689:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 689 | virtual std::auto_ptr MakeProtocolObject(int ObjType); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreDaemon.cpp: In member function 'virtual void BackupStoreDaemon::SetupInInitialProcess()': BackupStoreDaemon.cpp:192:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 192 | std::auto_ptr pdb(BackupStoreAccountDatabase::Read(config.GetKeyValue("AccountDatabase").c_str())); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ [CXX] HousekeepStoreAccount.cpp In file included from ../../lib/server/Daemon.h:82, from ../../lib/server/ServerStream.h:80, from ../../lib/server/ServerTLS.h:73, from BackupStoreDaemon.h:55, from HousekeepStoreAccount.cpp:59: ../../lib/common/Configuration.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr LoadAndVerify( | ^~~~~~~~ In file included from /usr/include/g++/memory:75, from ../../lib/common/Configuration.h:77: /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/common/Configuration.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr Load( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/Daemon.h:153:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 153 | std::auto_ptr mapConfiguration; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/server/ServerStream.h:81: ../../lib/server/SocketListen.h:248:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr Accept(int Timeout = INFTIM, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h: In member function 'std::auto_ptr<_Up> SocketListen::Accept(int, std::string*)': ../../lib/server/SocketListen.h:271:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 271 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:289:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:300:45: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 300 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/SocketListen.h:329:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 329 | return std::auto_ptr(new SocketType(sock)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/server/ServerStream.h: In member function 'virtual void ServerStream::Run2(bool&)': ../../lib/server/ServerStream.h:301:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr connection(psocket->Accept(0, &logMessage)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from ../../lib/backupstore/BackupStoreRefCountDatabase.h:59, from BackupStoreContext.h:59, from BackupStoreDaemon.h:58: ../../lib/backupstore/BackupStoreAccountDatabase.h: At global scope: ../../lib/backupstore/BackupStoreAccountDatabase.h:80:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | static std::auto_ptr Read(const char *Filename); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:117:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | static std::auto_ptr Load(const | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreRefCountDatabase.h:167:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 167 | std::auto_ptr mapDatabaseFile; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:170:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr OpenObject(int64_t ObjectID); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mpStoreInfo; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr mapRefCount; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:206:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 206 | virtual std::auto_ptr StartCommand(BackupProtocolObject& | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h:214:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 214 | std::auto_ptr StartCommandHook(BackupProtocolObject& rCommand) | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ BackupStoreContext.h: In member function 'std::auto_ptr BackupStoreContext::StartCommandHook(BackupProtocolObject&)': BackupStoreContext.h:220:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 220 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from HousekeepStoreAccount.cpp:62: ../../lib/raidfile/RaidFileRead.h: At global scope: ../../lib/raidfile/RaidFileRead.h:102:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | static std::auto_ptr Open(int SetNumber, const std::string &Filename, int64_t *pRevisionID = 0, int BufferSizeHint = 4096); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from HousekeepStoreAccount.cpp:65: ../../lib/backupstore/BackupStoreInfo.h:85:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | static std::auto_ptr Load(int32_t AccountID, const std::string &rRootDir, int DiscSet, bool ReadOnly, int64_t *pRevisionID = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupstore/BackupStoreInfo.h:124:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 124 | static std::auto_ptr CreateForRegeneration(int32_t AccountID, const std::string &rRootDir, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from HousekeepStoreAccount.cpp:68: ../../lib/backupclient/BackupStoreFile.h:163:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 163 | static std::auto_ptr EncodeFile(const char *Filename, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:168:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 168 | static std::auto_ptr EncodeFileDiff | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:183:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 183 | static std::auto_ptr DecodeFileStream(IOStream &rEncodedFile, int Timeout, const BackupClientFileAttributes *pAlterativeAttr = 0); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:185:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | static std::auto_ptr CombineFileIndices(IOStream &rDiff, IOStream &rFrom, bool DiffIsIndexOnly = false, bool FromIsIndexOnly = false); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../lib/backupclient/BackupStoreFile.h:188:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | static std::auto_ptr ReorderFileToStreamOrder(IOStream *pStream, bool TakeOwnership); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp: In member function 'void HousekeepStoreAccount::DoHousekeeping(bool)': HousekeepStoreAccount.cpp:157:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 157 | std::auto_ptr info(BackupStoreInfo::Load(mAccountID, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr apReferences; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp: In member function 'bool HousekeepStoreAccount::ScanDirectory(int64_t)': HousekeepStoreAccount.cpp:441:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 441 | std::auto_ptr dirStream(RaidFileRead::Open(mStoreDiscSet, | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp: In member function 'bool HousekeepStoreAccount::DeleteFiles()': HousekeepStoreAccount.cpp:733:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 733 | std::auto_ptr dirStream(RaidFileRead::Open(mStoreDiscSet, dirFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp: In member function 'void HousekeepStoreAccount::DeleteFile(int64_t, int64_t, BackupStoreDirectory&, const std::string&, int64_t)': HousekeepStoreAccount.cpp:775:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 775 | std::auto_ptr padjustedEntry; | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp:855:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 855 | std::auto_ptr pdiff(RaidFileRead::Open(mStoreDiscSet, objFilenameOlder)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp:856:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 856 | std::auto_ptr pdiff2(RaidFileRead::Open(mStoreDiscSet, objFilenameOlder)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp:860:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 860 | std::auto_ptr pobjectBeingDeleted(RaidFileRead::Open(mStoreDiscSet, objFilename)); | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp: In member function 'void HousekeepStoreAccount::DeleteEmptyDirectory(int64_t, std::vector&)': HousekeepStoreAccount.cpp:1030:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1030 | std::auto_ptr dirStream( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ HousekeepStoreAccount.cpp:1049:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1049 | std::auto_ptr containingDirStream( | ^~~~~~~~ /usr/include/g++/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/g++/map:60, from HousekeepStoreAccount.cpp:56: /usr/include/g++/bits/stl_tree.h: In instantiation of 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Link_type) [with _Key = HousekeepStoreAccount::DelEn; _Val = HousekeepStoreAccount::DelEn; _KeyOfValue = std::_Identity; _Compare = HousekeepStoreAccount::DelEnCompare; _Alloc = std::allocator; _Const_Link_type = const std::_Rb_tree_node*]': /usr/include/g++/bits/stl_tree.h:2119:47: required from 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = HousekeepStoreAccount::DelEn; _Val = HousekeepStoreAccount::DelEn; _KeyOfValue = std::_Identity; _Compare = HousekeepStoreAccount::DelEnCompare; _Alloc = std::allocator; key_type = HousekeepStoreAccount::DelEn]' /usr/include/g++/bits/stl_tree.h:2172:4: required from 'std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const HousekeepStoreAccount::DelEn&; _Key = HousekeepStoreAccount::DelEn; _Val = HousekeepStoreAccount::DelEn; _KeyOfValue = std::_Identity; _Compare = HousekeepStoreAccount::DelEnCompare; _Alloc = std::allocator]' /usr/include/g++/bits/stl_set.h:514:25: required from 'std::pair, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = HousekeepStoreAccount::DelEn; _Compare = HousekeepStoreAccount::DelEnCompare; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree, HousekeepStoreAccount::DelEnCompare, std::allocator >::const_iterator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other = std::allocator; typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key> = __gnu_cxx::__alloc_traits, HousekeepStoreAccount::DelEn>::rebind; typename _Alloc::value_type = HousekeepStoreAccount::DelEn; value_type = HousekeepStoreAccount::DelEn]' HousekeepStoreAccount.cpp:565:31: required from here /usr/include/g++/bits/stl_tree.h:772:15: error: static assertion failed: comparison object must be invocable as const 772 | is_invocable_v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/g++/bits/stl_tree.h:772:15: note: 'std::is_invocable_v' evaluates to false gmake[1]: *** [Makefile:67: ../../release/bin/bbstored/HousekeepStoreAccount.o] Error 1 gmake[1]: Leaving directory '/pbulk/work/sysutils/boxbackup-server/work/boxbackup-0.11.1/bin/bbstored' gmake: *** [Makefile:156: release/bin/bbstored/bbstored] Error 2 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/sysutils/boxbackup-server *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/sysutils/boxbackup-server